play phryzby with physics

An Astronaut Adrift

solved NewtonsSecondLaw

Q. An astronaut accidentally gets separated out of his small spaceship accelerating in interstellar space at a constant rate of 100 m/s²as(s)=100m/s². Assume there are no nearby starsFnet,a(a)=0N to exert gravitational force on him. What is the acceleration of the astronaut the instant after he is outside the spaceship, in m/s²?

ship acceleration100 m/s²[L T⁻²]acceleration?[L T⁻²]Newtons Second Law
Inputs
as
100 m/s²
Outputs
accelerationaa?

How it's solved

Solved with NewtonsSecondLaw

Given

  • as(s)=100m/s²
  • Fnet,a(a)=0N as it is free of forces, from “no nearby stars”

Find aa(a).

Working
  1. second law(adrift, x)Fnet,a(a)=ma⋅aa(a)
  2. aa(a)=0masince ma≠0
  3. aa(a)=0m/s²
Conclusion

Once he is outside, nothing pushes or pulls him, so by the first law he stops speeding up at once; the ship's acceleration stays with the ship.

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 :an_astronaut_adrift do4  kind :numerical5  describes "An astronaut accidentally gets separated out of his small spaceship accelerating in interstellar space " \6            "at a constant rate of %{ship_acceleration}. Assume there are no nearby stars to exert gravitational " \7            "force on him. %{acceleration}, in m/s²?"8  given ship_acceleration: "100 m/s2"9  asks acceleration: "What is the acceleration of the astronaut the instant after he is outside the spaceship"10end
solution.rb
1require_relative "../questions/an_astronaut_adrift"2require_relative "../science/laws_of_motion/newtons_second_law"34solve :an_astronaut_adrift, using: NewtonsSecondLaw do5  objects :astronaut, :spaceship6  axes :x7  spaceship.goes(:speeding_up)8  astronaut.goes(:adrift)910  take ship_acceleration: spaceship.acceleration1112  deduce_from "no nearby stars", astronaut.free_of_forces!1314  acceleration = astronaut.acceleration15  answer acceleration:, in: "m/s2"1617  conclusion "Once he is outside, nothing pushes or pulls him, so by the first law he stops speeding " \18             "up at once; the ship's acceleration stays with the ship."19end
playground.rb
1require_relative "../solutions/an_astronaut_adrift"23play_with :an_astronaut_adrift do4  title "An Astronaut Adrift"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 spaceship during speeding up along xΔxs(s)m—
position of spaceship at end of speeding up along xxs(s₁)m—
position of spaceship at start of speeding up along xxs(s₀)m—
displacement of astronaut during adrift along xΔxa(a)m—
position of astronaut at end of adrift along xxa(a₁)m—
position of astronaut at start of adrift along xxa(a₀)m—
average velocity of spaceship during speeding up along xvav,s(s)m/s—
time taken of speeding upΔtss0 … 1e+05
average velocity of astronaut during adrift along xvav,a(a)m/s—
time taken of adriftΔtas0 … 1e+05
average speed of spaceship during speeding upcav,s(s)m/s—
path length of spaceship during speeding upds(s)m—
average speed of astronaut during adriftcav,a(a)m/s—
path length of astronaut during adriftda(a)m—
change of velocity of spaceship during speeding up along xΔvs(s)m/s—
velocity of spaceship at end of speeding up from ground along xvs(s₁)m/s—
velocity of spaceship at start of speeding up from ground along xvs(s₀)m/s—
change of velocity of astronaut during adrift along xΔva(a)m/s—
velocity of astronaut at end of adrift from ground along xva(a₁)m/s—
velocity of astronaut at start of adrift from ground along xva(a₀)m/s—
average acceleration of spaceship during speeding up along xaav,s(s)m/s²—
average acceleration of astronaut during adrift along xaav,a(a)m/s²—
acceleration of spaceship during speeding up along xas(s)m/s²—
acceleration of astronaut during adrift along xaa(a)m/s²—
net force on spaceship during speeding up along xFnet,s(s)N—
mass of spaceshipmskg0 … ∞
net force on astronaut during adrift along xFnet,a(a)N—
mass of astronautmakg0 … ∞
weight on ground|Wg|N—
weight on astronaut|Wa|N—
weight on spaceship|Ws|N—
displacement of spaceship during speeding up|Δxs(s)|m—
position of spaceship at end of speeding up|xs(s₁)|m—
position of spaceship at start of speeding up|xs(s₀)|m—
displacement of astronaut during adrift|Δxa(a)|m—
position of astronaut at end of adrift|xa(a₁)|m—
position of astronaut at start of adrift|xa(a₀)|m—
average velocity of spaceship during speeding up|vav,s(s)|m/s—
average velocity of astronaut during adrift|vav,a(a)|m/s—
change of velocity of spaceship during speeding up|Δvs(s)|m/s—
velocity of spaceship at end of speeding up from ground|vs(s₁)|m/s—
velocity of spaceship at start of speeding up from ground|vs(s₀)|m/s—
change of velocity of astronaut during adrift|Δva(a)|m/s—
velocity of astronaut at end of adrift from ground|va(a₁)|m/s—
velocity of astronaut at start of adrift from ground|va(a₀)|m/s—
average acceleration of spaceship during speeding up|aav,s(s)|m/s²—
average acceleration of astronaut during adrift|aav,a(a)|m/s²—
acceleration of spaceship during speeding up|as(s)|m/s²—
acceleration of astronaut during adrift|aa(a)|m/s²—
net force on spaceship during speeding up|Fnet,s(s)|N—
net force on astronaut during adrift|Fnet,a(a)|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
Δxs(s)=xs(s₁)-xs(s₀)
change of position(speeding up, x)
Δxa(a)=xa(a₁)-xa(a₀)
change of position(adrift, x)
vav,s(s)=Δxs(s)Δts
displacement a time(speeding up, x)
vav,a(a)=Δxa(a)Δta
displacement a time(adrift, x)
cav,s(s)=ds(s)Δts
path a time(speeding up, x)
cav,a(a)=da(a)Δta
path a time(adrift, x)
Δvs(s)=vs(s₁)-vs(s₀)
velocity gained(speeding up, x)
Δva(a)=va(a₁)-va(a₀)
velocity gained(adrift, x)
aav,s(s)=Δvs(s)Δts
velocity gained a time(speeding up, x)
aav,a(a)=Δva(a)Δta
velocity gained a time(adrift, x)
vs(s₁)=vs(s₀)+as(s)⋅Δts
velocity after a time(speeding up, x)
va(a₁)=va(a₀)+aa(a)⋅Δta
velocity after a time(adrift, x)
xs(s₁)=xs(s₀)+vs(s₀)⋅Δts+as(s)⋅Δts22
position after a time(speeding up, x)
xa(a₁)=xa(a₀)+va(a₀)⋅Δta+aa(a)⋅Δta22
position after a time(adrift, x)
vs(s₁)2=vs(s₀)2+2⋅as(s)⋅(xs(s₁)-xs(s₀))
velocity after a distance(speeding up, x)
va(a₁)2=va(a₀)2+2⋅aa(a)⋅(xa(a₁)-xa(a₀))
velocity after a distance(adrift, x)
xs(s₁)-xs(s₀)=(vs(s₁)+vs(s₀))⋅Δts2
mean of the velocities(speeding up, x)
xa(a₁)-xa(a₀)=(va(a₁)+va(a₀))⋅Δta2
mean of the velocities(adrift, x)
Fnet,s(s)=ms⋅as(s)
second law(speeding up, x)
Fnet,a(a)=ma⋅aa(a)
second law(adrift, x)
|Δxs(s)|=Δxs(s)2
magnitude from components(displacement of spaceship during speeding up)
|xs(s₁)|=xs(s₁)2
magnitude from components(position of spaceship at end of speeding up)
|xs(s₀)|=xs(s₀)2
magnitude from components(position of spaceship at start of speeding up)
|Δxa(a)|=Δxa(a)2
magnitude from components(displacement of astronaut during adrift)
|xa(a₁)|=xa(a₁)2
magnitude from components(position of astronaut at end of adrift)
|xa(a₀)|=xa(a₀)2
magnitude from components(position of astronaut at start of adrift)
|vav,s(s)|=vav,s(s)2
magnitude from components(average velocity of spaceship during speeding up)
|vav,a(a)|=vav,a(a)2
magnitude from components(average velocity of astronaut during adrift)
|Δvs(s)|=Δvs(s)2
magnitude from components(change of velocity of spaceship during speeding up)
|vs(s₁)|=vs(s₁)2
magnitude from components(velocity of spaceship at end of speeding up from ground)
|vs(s₀)|=vs(s₀)2
magnitude from components(velocity of spaceship at start of speeding up from ground)
|Δva(a)|=Δva(a)2
magnitude from components(change of velocity of astronaut during adrift)
|va(a₁)|=va(a₁)2
magnitude from components(velocity of astronaut at end of adrift from ground)
|va(a₀)|=va(a₀)2
magnitude from components(velocity of astronaut at start of adrift from ground)
|aav,s(s)|=aav,s(s)2
magnitude from components(average acceleration of spaceship during speeding up)
|aav,a(a)|=aav,a(a)2
magnitude from components(average acceleration of astronaut during adrift)
|as(s)|=as(s)2
magnitude from components(acceleration of spaceship during speeding up)
|aa(a)|=aa(a)2
magnitude from components(acceleration of astronaut during adrift)
|Fnet,s(s)|=Fnet,s(s)2
magnitude from components(net force on spaceship during speeding up)
|Fnet,a(a)|=Fnet,a(a)2
magnitude from components(net force on astronaut during adrift)
ma≠0
has mass?(astronaut)
ms≠0
has mass?(spaceship)
Fnet,a(a)=0
free of forces?(astronaut, adrift)
Fnet,s(s)=0
free of forces?(spaceship, speeding up)