Question
Part 1 Car repairs can be time consuming and expensive, write a MATLAB program that can compute and plot the projectile path of the car
Part 1 Car repairs can be time consuming and expensive, write a MATLAB program that can compute and plot the projectile path of the car and simulate the jump.
The program will ask the race driver to input the car speed in miles per hour (mph) when the car jumps off the ramp. Recall that 1 mph = 0.44704 m/s.
The MATLAB program should compute the jump ramp incline angle in degrees knowing that the jump ramp is 7 meters long horizontally and 1.5 meters high vertically.
The MATLAB program will find the initial velocity (v0) of the x and y directions (vx0 and vy0) using the jump ramp incline angle and the car jump off speed.
The jump off point is 1.5 m vertically (y0 = 1.5).
Compute the time it takes the car to reach its maximum height.
Compute the maximum height.
Compute the time it takes for the car to free fall from its maximum height to the ground.
Utilize the total time the car in the air to compute the horizontal distance in meters (m) the car can fly.
The program should print the ramp angle in degrees, the projectile initial velocity in m/s, the initial velocity in the x and y directions , time to reach the maximum height, the maximum height, the time to fall from the maximum height, the projectile total fly time, and the maximum distance) in the command window 2 digits after the decimal point.
The program should also separate the projectile total fly time into 100 equally spaced time points. Compute the x coordinate and y coordinate for each time point and plot the car projectile motion in the x and y coordinates from the moment the car is in the air (y0 = 1.5) until it falls to the ground (y = 0). Ignore air resistance in the calculation. Assume the car weight is evenly distributed, so that the car will not summer sault in the air.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started