Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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 image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Principles Programming And Performance

Authors: Patrick O'Neil

1st Edition

1558603921, 978-1558603929

More Books

Students also viewed these Databases questions

Question

What did they do? What did they say?

Answered: 1 week ago

Question

What is Change Control and how does it operate?

Answered: 1 week ago

Question

How do Data Requirements relate to Functional Requirements?

Answered: 1 week ago