1require_relative "../physics"23question :the_two_scalars do4 kind :mcq5 describes "Which two of these are scalars?"67 option "force"8 option "angular momentum"9 option "work"10 option "current"11 option "linear momentum"12 option "electric field"13 option "average velocity"14 option "magnetic moment"15 option "relative velocity"16end
1require_relative "../questions/the_two_scalars"2require_relative "../science/motion_in_a_plane/vectors"34solve :the_two_scalars, using: Vectors do5 answer options.select { |o| o.content.to_quantity.scalar? }67 conclusion "Work is an amount of energy handed over, with no direction of its own. Current " \8 "flows along a wire, but it adds like a number, not like arrows, so it is a scalar " \9 "too."10end
1require_relative "../solutions/the_two_scalars"23play_with :the_two_scalars do4 title "The Two Scalars"5end