play phryzby with physics

Pushed Two Ways

solved NewtonsSecondLaw

Q. A body of 5 kgm=5kg is pushed by two forces at right anglesθf;s=90° to each other, 8 NFf=8N and 6 NFs=6N. How strongly does it accelerate, in m/s²?

bodya = ?first pusher 8 Nsecond pusher 6 Nnet
Inputs
m
5 kg
Ff
8 N
Fs
6 N
Outputs
accelerationa?

How it's solved

Solved with NewtonsSecondLaw

Given

  • m=5kg
  • Ff=8N
  • Fs=6N
  • θf;s=90° from “at right angles”
  • Fnet: the positive one of the values that fit from “How strongly”

Find a.

Working
  1. net force is the resultant(body, pushed)Fnet2=Ff2+Fs2+2⋅Ff⋅Fs⋅cos⁡θf;s
  2. Fnet2=82+62+2⋅8⋅6⋅cos⁡90°
  3. Fnet=−10,10Nthe positive one is taken
  4. Fnet=10N
  5. second law(pushed)Fnet=m⋅a
  6. 10=5⋅a
  7. a=2m/s²
Conclusion

At right angles the two forces add like the sides of a right triangle, and the body accelerates along the hypotenuse at that force over its mass.

The web of concepts

given read from the words equation asked

The Ruby that solves it

The question and its solution are small Ruby files. The engine runs them.

question.rb
1require_relative "../physics"23question :pushed_two_ways do4  kind :numerical5  describes "A body of %{mass} is pushed by two forces at right angles to each other, %{first_force} and " \6            "%{second_force}. %{acceleration}, in m/s²?"7  given mass: "5 kg"8  given first_force: "8 N"9  given second_force: "6 N"10  asks acceleration: "How strongly does it accelerate"11end
solution.rb
1require_relative "../questions/pushed_two_ways"2require_relative "../science/laws_of_motion/newtons_second_law"34solve :pushed_two_ways, using: NewtonsSecondLaw do5  objects :body, :first_pusher, :second_pusher6  body.goes(:pushed)78  take mass: body.mass9  take first_force: body.force(by: first_pusher).magnitude10  take second_force: body.force(by: second_pusher).magnitude1112  deduce_from "at right angles", first_force.perpendicular_to(second_force)13  deduce_from "How strongly", body.net_force => :positive1415  acceleration = body.acceleration.magnitude16  answer acceleration:, in: "m/s2"1718  conclusion "At right angles the two forces add like the sides of a right triangle, and the body " \19             "accelerates along the hypotenuse at that force over its mass."20end
playground.rb
1require_relative "../solutions/pushed_two_ways"23play_with :pushed_two_ways do4  title "Pushed Two Ways"5end
The laws it drew on
quantitywrittenunitswithinfrom
volumevolume——Vectors
massmkg0 … ∞Vectors
speedspeed——Vectors
densitydensity——Vectors
number of molesn——Vectors
angular frequencyangularfrequency——Vectors
workwork——Vectors
currentcurrent——Vectors
temperaturetemperature——Vectors
pressurepressure——Vectors
timets0 … 1e+05Vectors
powerpower——Vectors
total path lengths——Vectors
energyenergy——Vectors
gravitational potentialgravitationalpotential——Vectors
coefficient of frictionμ——Vectors
chargecharge——Vectors
accelerationam/s²—Vectors
velocityvm/s—Vectors
displacementΔxm—Vectors
angular velocityangularvelocity——Vectors
forceFN—Vectors
angular momentumangularmomentum——Vectors
linear momentumplin——Vectors
electric fieldelectricfield——Vectors
average velocityvavm/s—Vectors
magnetic momentmagneticmoment——Vectors
relative velocityvAB——Vectors
impulseimpulse——Vectors
first vectorA—0 … ∞Vectors
second vectorB—0 … ∞Vectors
angle betweenφ—0 … 3.142Vectors
resultantR—0 … ∞Vectors
resultant directionβ—0 … 3.142Vectors
directionα—-3.142 … 3.142Vectors
x componentAx——Vectors
y componentAy——Vectors
positionxm—Velocity
path lengthdm—Velocity
time takenΔts0 … 1e+05Velocity
average speedcavm/s—Velocity
starting positionx0m—Velocity
final positionxm—Velocity
change of velocityΔvm/s—Acceleration
average accelerationaavm/s²—Acceleration
starting velocityv0m/s—Acceleration
final velocityvm/s—Acceleration
gravitygm/s²—UniformAcceleration
net forceFnetN—NewtonsSecondLaw
weightWN—NewtonsSecondLaw
angle between force on body by first pusher during pushed and force on body by second pusher during pushedθf;s—0 … 3.142
displacement of body during pushedΔxm—
position of body at end of pushedx1m—
position of body at start of pushedx0m—
average velocity of body during pushedvavm/s—
time taken of pushedΔts0 … 1e+05
average speed of body during pushedcavm/s—
path length of body during pusheddm—
change of velocity of body during pushedΔvm/s—
velocity of body at end of pushed from groundv1m/s—
velocity of body at start of pushed from groundv0m/s—
average acceleration of body during pushedaavm/s²—
acceleration of body during pushedam/s²—
net force on body during pushedFnetN—
mass of bodymkg0 … ∞
mass of first pushermfkg0 … ∞
mass of second pushermskg0 … ∞
weight on groundWgN—
weight on bodyWN—
weight on first pusherWfN—
weight on second pusherWsN—
force on body by first pusher during pushedFfN—
force on body by second pusher during pushedFsN—
x0≡xi(start of motion)
starting position
x≡xi(end of motion)
final position
v0≡vi(start of motion)
starting velocity
v≡vi(end of motion)
final velocity
t≡Δtm
time
A=Ax2+Ay2
magnitude from components
di(whole)=di(part 1)+di(part 2)
path in parts
Δtw=Δtp+Δtp
time in parts
ai(part 1)=ai(whole)
steady through its parts
mb≠0
has mass?
R2=A2+B2+2⋅A⋅B⋅cos⁡φ
law of cosines
R⋅sin⁡β=B⋅sin⁡φ
law of sines
R⋅cos⁡β=A+B⋅cos⁡φ
along the first
Ax=A⋅cos⁡α
resolved along x
Ay=A⋅sin⁡α
resolved along y
Δx=x1-x0
change of position(pushed)
vav=ΔxΔt
displacement a time(pushed)
cav=dΔt
path a time(pushed)
Δv=v1-v0
velocity gained(pushed)
aav=ΔvΔt
velocity gained a time(pushed)
v1=v0+a⋅Δt
velocity after a time(pushed)
x1=x0+v0⋅Δt+a⋅Δt22
position after a time(pushed)
v12=v02+2⋅a⋅(x1-x0)
velocity after a distance(pushed)
x1-x0=(v1+v0)⋅Δt2
mean of the velocities(pushed)
Fnet=m⋅a
second law(pushed)
Fnet2=Ff2+Fs2+2⋅Ff⋅Fs⋅cos⁡θf;s
net force is the resultant(body, pushed)
m≠0
has mass?(body)
mf≠0
has mass?(first pusher)
ms≠0
has mass?(second pusher)
Fnet=0
free of forces?(body, pushed)