1require_relative "../physics"23question :which_are_vectors do4 kind :mcq5 describes "Which of these are vectors?"67 option "volume"8 option "mass"9 option "speed"10 option "acceleration"11 option "density"12 option "number of moles"13 option "velocity"14 option "angular frequency"15 option "displacement"16 option "angular velocity"17end
1require_relative "../questions/which_are_vectors"2require_relative "../science/motion_in_a_plane/vectors"34solve :which_are_vectors, using: Vectors do5 answer options.select { |o| o.content.to_quantity.vector? }67 conclusion "A vector needs a direction as well as a size. Speed is how fast; velocity is how " \8 "fast and which way. Angular frequency counts turns in a time, while angular " \9 "velocity points along the axis of the turning."10end
1require_relative "../solutions/which_are_vectors"23play_with :which_are_vectors do4 title "Which Are Vectors"5end