play phryzby with physics

Part of eval main bdd945f six, agent version bdd945f

stuck
24 drafts checked

A stone on a string 80 cm long is whirled round a horizontal circle at a steady speed, 14 times in 25 s. What is its acceleration, in m/s²?

expects 9.90 m/s²

24 checks, 0 agreed

draft 24: failed in solution.rb, line 5 — NoMethodError: undefined method 'motion' for an instance of Physics::PhysicalObject; did you mean options?

solution.rb · draft 24 stopped at line 5
1solve :a_whirled_stone, using: UniformCircularMotion do2  objects :stone3  paths :circle4  stone.goes(:round, on: circle)5  take length: circle.radius, turns: stone.revolutions, time: stone.motion.time_takenNoMethodError: undefined method 'motion' for an instance of Physics::PhysicalObject; did you mean options?6  acceleration = stone.centripetal_acceleration7  answer acceleration:, in: "m/s2", figures: 38  conclusion "The stone moves at steady speed but its direction changes, so it has a centripetal acceleration toward the centre."9end