question.rb
solution.rb
playground.rb
1 require_relative "../physics" 2 3 question :a_motor_wheel_speeds_up do 4 kind :numerical 5 describes "The angular speed of a motor wheel is increased from %{start} to %{finish} in %{time}. Assuming the " \ 6 "angular acceleration is uniform, %{turns}?" 7 given start: "1200 rpm" 8 given finish: "3120 rpm" 9 given time: "16 s" 10 asks turns: "how many revolutions does the engine make during this time" 11 end
1 require_relative "../questions/a_motor_wheel_speeds_up" 2 require_relative "../science/systems_of_particles_and_rotational_motion/rotational_kinematics" 3 4 solve :a_motor_wheel_speeds_up , using: RotationalKinematics do 5 objects :wheel 6 wheel . goes ( :speeding_up ) 7 8 take start: wheel . initial_angular_velocity 9 take finish: wheel . final_angular_velocity 10 take time: speeding_up . time_taken 11 12 turns = wheel . turns 13 answer turns :, figures: 3 14 15 conclusion "With a steady angular acceleration the wheel turns as if at the mean of its two speeds " \ 16 "for the whole time." 17 end
1 require_relative "../solutions/a_motor_wheel_speeds_up" 2 3 play_with :a_motor_wheel_speeds_up do 4 title "A Motor Wheel Speeds Up" 5 end