play phryzby with physics

Part of eval pr72 v4 main rerun 1, agent version bd007a8

stuck
24 drafts checked

A body of 5 kg is pushed by two forces at right angles to each other, 8 N and 6 N. How strongly does it accelerate, in m/s²?

expects 2 m/s²

24 checks, 0 agreed

draft 24: failed while solving — RuntimeError: no equation determines the acceleration of body during pushed from what is known the engine knows: known: mass of body; force on body by pusher1 during pushed; force on body by pusher2 during pushed; magnitude_from_components(acceleration of body during pushed): acceleration of body during pushed == sqrt(((acceleration of body during pushed along x ** 2) + (acceleration of body during pushed along y ** 2))) — not yet known: acceleration of body during pushed along x; acceleration of body during pushed along y

solution.rb · draft 24 failed while solving
1solve :two_forces_at_right_angles, using: [NewtonsSecondLaw, Vectors] do2  objects :body, :pusher1, :pusher23  axes :x, :y4  body.goes(:pushed)56  take mass: body.mass7  take force1: body.force(by: pusher1, during: pushed).magnitude8  take force2: body.force(by: pusher2, during: pushed).magnitude910  deduce_from "at right angles to each other", body.net_force(during: pushed).magnitude => sqrt(force1**2 + force2**2)1112  acceleration = body.acceleration.magnitude13  answer acceleration:, in: "m/s2"1415  conclusion "The two forces are perpendicular, so the resultant is the hypotenuse of the right triangle they form; Newton's second law gives the acceleration from the resultant force and mass."16end
RuntimeError: no equation determines the acceleration of body during pushed from what is known the engine knows: known: mass of body; force on body by pusher1 during pushed; force on body by pusher2 during pushed; magnitude_from_components(acceleration of body during pushed): acceleration of body during pushed == sqrt(((acceleration of body during pushed along x ** 2) + (acceleration of body during pushed along y ** 2))) — not yet known: acceleration of body during pushed along x; acceleration of body during pushed along y