Question: Please use Matlab 3 A raging flood washed away a section of highway, creating a gash that a car doesn't notice and right over the

Please use Matlab  Please use Matlab 3 A raging flood washed away a section

3 A raging flood washed away a section of highway, creating a gash that a car doesn't notice and right over the edge. Write a program to find the distance the car travels before hitting the ground of the gashvipit below and the velocity, in the y at which it hits. The iniial velocity of the car should be an input by the user. The depth of the gash/plt should also be an input by the user. Output the distance of travel and velocity in the y, and then a plot of the distance along the ground versus height If we assume the car goes over the edge without any initial angle (so straight over the edge not angled up or down), from Physics we know projectile motion can be described as where is the velocity in r,and vre is the initial velocity in x, both in m/s where vy is the velocity in y, Pye is the initial velocity in y, both in m/s t is the time in seconds, and g is the gavitational constant, 9.81ms The distance equations for x and y are thereflore xo t where xg is the initial salue in meters (m) y yo + Vyogt where y, is the initial value in meters (m) Use for your test case a velocity of 40/s and a height of 10m Hint: For se who haven't taken physion,necessary to soeve for the time that it takes the car to twi to the bottom of the gash/pt. This information can then be used to find the other resuts. General nomenclature dictates that x is the distance along the ground and y is the heightidepth. Your choice of coordinates will dictate how you solve the problem Le on the bottom of the gash or at the top where

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!