Question: 2 . ( 1 0 pts ) Calculates the speed of a tsunami in meters per second according to the formula where and = 2

2.(10 pts) Calculates the speed of a tsunami in meters per second according to the
formula
where and =2100 is the depth of the ocean in meters and assigns the
result to the variable velTsunami.
3.(20 points) Create an external function MpsToKmph.m for m/s to km/h conversion,
that takes an input argument in m/s and outputs a value in km/h.
4.(a)(10 pts) Calculate the wave speed of the tsunami in km/h using your external
function MpsToKmph.m, and print the speed in km/h using the disp function.
(b)(10 pts) Calculate how far, in km, the wave will travel in 8 hours, 12 hours, 24 hours.

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!