1require_relative "../physics"23question :the_only_vector do4 kind :scq5 describes "Which one of these is a vector?"67 option "temperature"8 option "pressure"9 option "impulse"10 option "time"11 option "power"12 option "total path length"13 option "energy"14 option "gravitational potential"15 option "coefficient of friction"16 option "charge"17end
1require_relative "../questions/the_only_vector"2require_relative "../science/motion_in_a_plane/vectors"34solve :the_only_vector, using: Vectors do5 answer options.select { |o| o.content.to_quantity.vector? }67 conclusion "Impulse is a force acting over a time, and it points the way the force pushes. " \8 "Pressure pushes on every surface alike, whichever way it faces, so it has no " \9 "direction of its own."10end
1require_relative "../solutions/the_only_vector"23play_with :the_only_vector do4 title "The Only Vector"5end