Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

CAN SOMEBODY PLEASE HELP WITH THIS PROBLEM ..i WILL RATE RIGHT AWAY THANK YOU As

ID: 1655314 • Letter: C

Question

CAN SOMEBODY PLEASE HELP WITH THIS PROBLEM ..i WILL RATE RIGHT AWAY THANK YOU

As you are driving down the highway you notice that you are approaching a railroad crossing. You also notice to your right that a train is approaching the same crossing. You are driving west to east, your current speed is 35 miles per hour, you are accelerating at 5 feet per second per second, and you are 200 feet west of the crossing. The train is traveling south to north, the train is moving at a constant speed of 55 miles per hour, and it is 400 feet south of the crossing

Compute the position of the car and the train, and the distance between them at any given time. Assume that time can be any value from 0 to 10 seconds. The program will prompt the user to enter the speed of the car in miles per hour, the acceleration of the car in feet per second per second, the distance of the car from the crossing, the speed of the train in miles per hour, the distance of the train from the crossing, and the time in seconds.

The position of an object that moves along a straight line at a constant acceleration is given by:

s=s0+v0t+1/2at^2

Where s0 and V0 are the position and velocity at time  = 0, and a is the acceleration. Applying the above equation to the car and train gives the following position equations:

car position = -Scar + Vcar*t +1/2*AccelerationCar*t^2

train position = - Strain + Vtrain*t

Where Scar is the initial position of the car and Strain is the initial position of the train. The distance between the car and train is computed by:

distance= SQRT(car^2+train^2)

Develop separate equations to compute the velocity of the car and the velocity of the train in feet per second. These computations will be used in the position equations given above.

Explanation / Answer

for the car , position is given as

X(t) = Xoc + Voc t + (0.5) ac t2

for the train , position is given as

Y(t) = Yot + Vot t + (0.5) at t2

distance between the train and car is given as

r(t) = sqrt(X(t)2 + Y(t)2) = sqrt((Xoc + Voc t + (0.5) ac t2 )2 + ( Yot + Vot t + (0.5) at t2 )2)

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote