play phryzby with physics

Before the Push Back

solved NewtonsSecondLaw

Q. A body of mass 0.40 kgm=0.40kg moving initially with a constant speedFnet(c)=0N of 10 m/sv(applied)=10m/s to the north is subject to a constant force of 8.0 N|Fp(p)|=8.0N directed towards the southFp(p)=−|Fp(p)| for 30 s. Take the instant the force is applied to be t = 0, and the position of the body at that time to be x = 0x(applied)=0m. What was its position 5 sΔtc=5s before the force is applied, at t = –5 s, in metres?

bodypusher 8 N
Inputs
m
0.4 kg
v
10.0 m/s
|Fp|
8 N
Δtc
5.00 s
Outputs
positionx?

How it's solved

Solved with NewtonsSecondLaw

Given

  • m=0.40kg
  • v(applied)=10m/s
  • |Fp(p)|=8.0N
  • Δtc=5s
  • x(applied)=0m from “x = 0”
  • Fnet(c)=0N from “constant speed”
  • Fp(p)=−|Fp(p)| from “directed towards the south”

Find x(earlier_on).

Working
  1. second law(coasting, x)Fnet(c)=m⋅a(c)
  2. 0=0.4⋅a(c)
  3. a(c)=0m/s²
  4. velocity after a time(coasting, x)v(applied)=v(earlier_on)+a(c)⋅Δtc
  5. 10=v(earlier_on)+0⋅5
  6. v(earlier_on)=10m/s
  7. position after a time(coasting, x)x(applied)=x(earlier_on)+v(earlier_on)⋅Δtc+a(c)⋅Δtc22
  8. 0=x(earlier_on)+10⋅5+0⋅522
  9. x(earlier_on)=-50.00 m
Conclusion

Before the force acts the body just runs on at its steady speed, so the force has no say in where it was.

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 :before_the_push_back do4  kind :numerical5  describes "A body of mass %{mass} moving initially with a constant speed of %{speed} to the north is subject to a " \6            "constant force of %{force} directed towards the south for 30 s. Take the instant the force is " \7            "applied to be t = 0, and the position of the body at that time to be x = 0. %{position} %{earlier} " \8            "before the force is applied, at t = –5 s, in metres?"9  given mass: "0.40 kg"10  given speed: "10 m/s"11  given force: "8.0 N"12  given earlier: "5 s"13  asks position: "What was its position"14end
solution.rb
1require_relative "../questions/before_the_push_back"2require_relative "../science/laws_of_motion/newtons_second_law"34solve :before_the_push_back, using: NewtonsSecondLaw do5  objects :body, :pusher6  axes :x7  instants :earlier_on, :applied, :later8  body.goes(:coasting, during: earlier_on..applied)9  body.goes(:pushed, during: applied..later)1011  take mass: body.mass12  take speed: body.velocity(at: applied)13  take force: body.force(by: pusher, during: pushed).magnitude14  take earlier: coasting.time_taken1516  deduce_from "directed towards the south", body.force(by: pusher, during: pushed).direction => -x17  deduce_from "x = 0", body.position(at: applied) => "0 m"18  deduce_from "constant speed", body.net_force(during: coasting) => "0 N"1920  position = body.position(at: earlier_on)21  answer position:, in: "m"2223  conclusion "Before the force acts the body just runs on at its steady speed, so the force has no say in " \24             "where it was."25end
playground.rb
1require_relative "../solutions/before_the_push_back"23play_with :before_the_push_back do4  title "Before the Push Back"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
displacement of body during coasting along xΔx(c)m—
position of body at applied along xx(applied)m—
position of body at earlier on along xx(earlier_on)m—
displacement of body during pushed along xΔx(p)m—
position of body at later along xx(later)m—
average velocity of body during coasting along xvav(c)m/s—
time taken of coastingΔtcs0 … 1e+05
average velocity of body during pushed along xvav(p)m/s—
time taken of pushedΔtps0 … 1e+05
average speed of body during coastingcav(c)m/s—
path length of body during coastingd(c)m—
average speed of body during pushedcav(p)m/s—
path length of body during pushedd(p)m—
change of velocity of body during coasting along xΔv(c)m/s—
velocity of body at applied from ground along xv(applied)m/s—
velocity of body at earlier on from ground along xv(earlier_on)m/s—
change of velocity of body during pushed along xΔv(p)m/s—
velocity of body at later from ground along xv(later)m/s—
average acceleration of body during coasting along xaav(c)m/s²—
average acceleration of body during pushed along xaav(p)m/s²—
acceleration of body during coasting along xa(c)m/s²—
acceleration of body during pushed along xa(p)m/s²—
net force on body during coasting along xFnet(c)N—
mass of bodymkg0 … ∞
net force on body during pushed along xFnet(p)N—
mass of pushermpkg0 … ∞
weight on ground|Wg|N—
weight on body|W|N—
weight on pusher|Wp|N—
force on body by pusher during pushed|Fp(p)|N—
force on body by pusher during pushed along xFp(p)N—
displacement of body during coasting|Δx(c)|m—
position of body at applied|x(applied)|m—
position of body at earlier on|x(earlier_on)|m—
displacement of body during pushed|Δx(p)|m—
position of body at later|x(later)|m—
average velocity of body during coasting|vav(c)|m/s—
average velocity of body during pushed|vav(p)|m/s—
change of velocity of body during coasting|Δv(c)|m/s—
velocity of body at applied from ground|v(applied)|m/s—
velocity of body at earlier on from ground|v(earlier_on)|m/s—
change of velocity of body during pushed|Δv(p)|m/s—
velocity of body at later from ground|v(later)|m/s—
average acceleration of body during coasting|aav(c)|m/s²—
average acceleration of body during pushed|aav(p)|m/s²—
acceleration of body during coasting|a(c)|m/s²—
acceleration of body during pushed|a(p)|m/s²—
net force on body during coasting|Fnet(c)|N—
net force on body during pushed|Fnet(p)|N—
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(c)=x(applied)-x(earlier_on)
change of position(coasting, x)
Δx(p)=x(later)-x(applied)
change of position(pushed, x)
vav(c)=Δx(c)Δtc
displacement a time(coasting, x)
vav(p)=Δx(p)Δtp
displacement a time(pushed, x)
cav(c)=d(c)Δtc
path a time(coasting, x)
cav(p)=d(p)Δtp
path a time(pushed, x)
Δv(c)=v(applied)-v(earlier_on)
velocity gained(coasting, x)
Δv(p)=v(later)-v(applied)
velocity gained(pushed, x)
aav(c)=Δv(c)Δtc
velocity gained a time(coasting, x)
aav(p)=Δv(p)Δtp
velocity gained a time(pushed, x)
v(applied)=v(earlier_on)+a(c)⋅Δtc
velocity after a time(coasting, x)
v(later)=v(applied)+a(p)⋅Δtp
velocity after a time(pushed, x)
x(applied)=x(earlier_on)+v(earlier_on)⋅Δtc+a(c)⋅Δtc22
position after a time(coasting, x)
x(later)=x(applied)+v(applied)⋅Δtp+a(p)⋅Δtp22
position after a time(pushed, x)
v(applied)2=v(earlier_on)2+2⋅a(c)⋅(x(applied)-x(earlier_on))
velocity after a distance(coasting, x)
v(later)2=v(applied)2+2⋅a(p)⋅(x(later)-x(applied))
velocity after a distance(pushed, x)
x(applied)-x(earlier_on)=(v(applied)+v(earlier_on))⋅Δtc2
mean of the velocities(coasting, x)
x(later)-x(applied)=(v(later)+v(applied))⋅Δtp2
mean of the velocities(pushed, x)
Fnet(c)=m⋅a(c)
second law(coasting, x)
Fnet(p)=m⋅a(p)
second law(pushed, x)
Fnet(p)=Fp(p)+0
net force is the resultant(body, pushed, x)
|Δx(c)|=Δx(c)2
magnitude from components(displacement of body during coasting)
|x(applied)|=x(applied)2
magnitude from components(position of body at applied)
|x(earlier_on)|=x(earlier_on)2
magnitude from components(position of body at earlier on)
|Δx(p)|=Δx(p)2
magnitude from components(displacement of body during pushed)
|x(later)|=x(later)2
magnitude from components(position of body at later)
|vav(c)|=vav(c)2
magnitude from components(average velocity of body during coasting)
|vav(p)|=vav(p)2
magnitude from components(average velocity of body during pushed)
|Δv(c)|=Δv(c)2
magnitude from components(change of velocity of body during coasting)
|v(applied)|=v(applied)2
magnitude from components(velocity of body at applied from ground)
|v(earlier_on)|=v(earlier_on)2
magnitude from components(velocity of body at earlier on from ground)
|Δv(p)|=Δv(p)2
magnitude from components(change of velocity of body during pushed)
|v(later)|=v(later)2
magnitude from components(velocity of body at later from ground)
|aav(c)|=aav(c)2
magnitude from components(average acceleration of body during coasting)
|aav(p)|=aav(p)2
magnitude from components(average acceleration of body during pushed)
|a(c)|=a(c)2
magnitude from components(acceleration of body during coasting)
|a(p)|=a(p)2
magnitude from components(acceleration of body during pushed)
|Fnet(c)|=Fnet(c)2
magnitude from components(net force on body during coasting)
|Fnet(p)|=Fnet(p)2
magnitude from components(net force on body during pushed)
|Fp(p)|=Fp(p)2
magnitude from components(force on body by pusher during pushed)
Fp(p)=−|Fp(p)|
directed towards the south
m≠0
has mass?(body)
mp≠0
has mass?(pusher)
Fnet(c)=0
free of forces?(body, coasting)
Fnet(p)=0
free of forces?(body, pushed)