play phryzby with physics

Y Coordinate At X Sixteen

solved MotionInAPlane

Q. A particle starts from the originx0,x=0m, x0,y=0m at 10.0 m/sv0,y=10.0m/s along yv0,x=0m/s, and accelerates at 8.0 m/s²ax=8.0m/s² along x and 2.0 m/s²ay=2.0m/s² along y. What is its y-coordinate when its x-coordinate is 16 mx1,x=16m, in metres?

v₀v₀ᵧ = 10 m/svx = ?y = ?taₓ = 8 m/s²aᵧ = 2 m/s²
Inputs
v0,y
10.0 m/s
ax
8 m/s²
ay
2 m/s²
x1,x
16.00 m
Outputs
y coordinatex1,y?

How it's solved

Solved with MotionInAPlane

Given

  • v0,y=10.0m/s
  • ax=8.0m/s²
  • ay=2.0m/s²
  • x1,x=16m
  • x0,x=0m from “the origin”
  • x0,y=0m from “the origin”
  • v0,x=0m/s from “along y”

Find x1,y.

Working
  1. position after a time(flying, x)x1,x=x0,x+v0,x⋅Δt+ax⋅Δt22
  2. 16=0+0⋅Δt+8⋅Δt22
  3. Δt=2s
  4. position after a time(flying, y)x1,y=x0,y+v0,y⋅Δt+ay⋅Δt22
  5. x1,y=0+10⋅2+2⋅222
  6. x1,y=24.00 m
  7. x1,y≈24.0mto 3 significant figures
Conclusion

The x-motion determines the time when the particle reaches x = 16 m; at that moment, the y-motion gives the y-coordinate.

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
1question :y_coordinate_at_x_sixteen do2  kind :numerical3  describes "A particle starts from the origin at %{speed} along y, and accelerates at %{x_acceleration} along x and %{y_acceleration} along y. %{y_coordinate} when its x-coordinate is %{x_coordinate}, in metres?"4  given speed: "10.0 m/s"5  given x_acceleration: "8.0 m/s2"6  given y_acceleration: "2.0 m/s2"7  given x_coordinate: "16 m"8  asks y_coordinate: "What is its y-coordinate"9end
solution.rb
1solve :y_coordinate_at_x_sixteen, using: MotionInAPlane do2  objects :particle3  axes :x, :y4  particle.goes(:flying)5  take speed: particle.initial_velocity(along: y),6       x_acceleration: particle.acceleration(along: x),7       y_acceleration: particle.acceleration(along: y),8       x_coordinate: particle.final_position(along: x)9  deduce_from "the origin", particle.initial_position(along: x) => "0 m", particle.initial_position(along: y) => "0 m"10  deduce_from "along y", particle.initial_velocity(along: x) => "0 m/s"11  time = flying.time_taken12  y_coordinate = particle.final_position(along: y)13  answer y_coordinate:, in: "m", figures: 314  conclusion "The x-motion determines the time when the particle reaches x = 16 m; at that moment, the y-motion gives the y-coordinate."15end
playground.rb
1play_with :y_coordinate_at_x_sixteen do2  title "Y Coordinate At X Sixteen"3end
The laws it drew on
quantitywrittenunitswithinfrom
volumevolume——Vectors
massmass——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
forceforce——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
displacement of particle during flying along xΔxxm—
position of particle at end of flying along xx1,xm—
position of particle at start of flying along xx0,xm—
displacement of particle during flying along yΔxym—
position of particle at end of flying along yx1,ym—
position of particle at start of flying along yx0,ym—
average velocity of particle during flying along xvav,xm/s—
time taken of flyingΔts0 … 1e+05
average velocity of particle during flying along yvav,ym/s—
average speed of particle during flyingcavm/s—
path length of particle during flyingdm—
change of velocity of particle during flying along xΔvxm/s—
velocity of particle at end of flying from ground along xv1,xm/s—
velocity of particle at start of flying from ground along xv0,xm/s—
change of velocity of particle during flying along yΔvym/s—
velocity of particle at end of flying from ground along yv1,ym/s—
velocity of particle at start of flying from ground along yv0,ym/s—
average acceleration of particle during flying along xaav,xm/s²—
average acceleration of particle during flying along yaav,ym/s²—
acceleration of particle during flying along xaxm/s²—
acceleration of particle during flying along yaym/s²—
velocity of ground at start of flying from ground along xv0,g,xm/s—
velocity of ground at start of flying from groundv0,gm/s—
direction of ground at start of flying from groundθ0,g—-3.142 … 3.142
velocity of ground at start of flying from ground along yv0,g,ym/s—
velocity of ground at end of flying from ground along xv1,g,xm/s—
velocity of ground at end of flying from groundv1,gm/s—
direction of ground at end of flying from groundθ1,g—-3.142 … 3.142
velocity of ground at end of flying from ground along yv1,g,ym/s—
velocity of particle at start of flying from groundv0m/s—
direction of particle at start of flying from groundθ0—-3.142 … 3.142
velocity of particle at end of flying from groundv1m/s—
direction of particle at end of flying from groundθ1—-3.142 … 3.142
displacement of particle during flyingΔxm—
position of particle at end of flyingx1m—
position of particle at start of flyingx0m—
average velocity of particle during flyingvavm/s—
change of velocity of particle during flyingΔvm/s—
average acceleration of particle during flyingaavm/s²—
acceleration of particle during flyingam/s²—
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
vo,x(t)=vo(t)⋅cos⁡θo(t)
parts of a velocity
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
Δxx=x1,x-x0,x
change of position(flying, x)
Δxy=x1,y-x0,y
change of position(flying, y)
vav,x=ΔxxΔt
displacement a time(flying, x)
vav,y=ΔxyΔt
displacement a time(flying, y)
cav=dΔt
path a time(flying, x)
cav=dΔt
path a time(flying, y)
Δvx=v1,x-v0,x
velocity gained(flying, x)
Δvy=v1,y-v0,y
velocity gained(flying, y)
aav,x=ΔvxΔt
velocity gained a time(flying, x)
aav,y=ΔvyΔt
velocity gained a time(flying, y)
v1,x=v0,x+ax⋅Δt
velocity after a time(flying, x)
v1,y=v0,y+ay⋅Δt
velocity after a time(flying, y)
x1,x=x0,x+v0,x⋅Δt+ax⋅Δt22
position after a time(flying, x)
x1,y=x0,y+v0,y⋅Δt+ay⋅Δt22
position after a time(flying, y)
v1,x2=v0,x2+2⋅ax⋅(x1,x-x0,x)
velocity after a distance(flying, x)
v1,y2=v0,y2+2⋅ay⋅(x1,y-x0,y)
velocity after a distance(flying, y)
x1,x-x0,x=(v1,x+v0,x)⋅Δt2
mean of the velocities(flying, x)
x1,y-x0,y=(v1,y+v0,y)⋅Δt2
mean of the velocities(flying, y)
v0,g,x=v0,g⋅cos⁡θ0,g
parts of a velocity(ground, start of flying, x)
v0,g,y=v0,g⋅sin⁡θ0,g
parts of a velocity(ground, start of flying, y)
v1,g,x=v1,g⋅cos⁡θ1,g
parts of a velocity(ground, end of flying, x)
v1,g,y=v1,g⋅sin⁡θ1,g
parts of a velocity(ground, end of flying, y)
v0,x=v0⋅cos⁡θ0
parts of a velocity(particle, start of flying, x)
v0,y=v0⋅sin⁡θ0
parts of a velocity(particle, start of flying, y)
v1,x=v1⋅cos⁡θ1
parts of a velocity(particle, end of flying, x)
v1,y=v1⋅sin⁡θ1
parts of a velocity(particle, end of flying, y)
Δx=Δxx2+Δxy2
magnitude from components(displacement of particle during flying)
x1=x1,x2+x1,y2
magnitude from components(position of particle at end of flying)
x0=x0,x2+x0,y2
magnitude from components(position of particle at start of flying)
vav=vav,x2+vav,y2
magnitude from components(average velocity of particle during flying)
Δv=Δvx2+Δvy2
magnitude from components(change of velocity of particle during flying)
v1=v1,x2+v1,y2
magnitude from components(velocity of particle at end of flying from ground)
v0=v0,x2+v0,y2
magnitude from components(velocity of particle at start of flying from ground)
aav=aav,x2+aav,y2
magnitude from components(average acceleration of particle during flying)
a=ax2+ay2
magnitude from components(acceleration of particle during flying)
v0,g=v0,g,x2+v0,g,y2
magnitude from components(velocity of ground at start of flying from ground)
v1,g=v1,g,x2+v1,g,y2
magnitude from components(velocity of ground at end of flying from ground)