Question: Please help me with these MATLAB problems. Thank you! 1) Write a .m function file called weather.m. As an input, the function should take an

Please help me with these MATLAB problems. Thank you!

1) Write a .m function file called weather.m. As an input, the function should take an array of length 14 containing the daily high temperature of each day for the past two weeks. It should output the number of days for which the high was greater than 75.

Please help me with these MATLAB problems. Thank you! 1) Write a

(10 points) A water tower is cylindrical up to height h = 19 and is an inverted cone beyond that point. The volume of water in the tower depends on the height in the following way: ( 58 12.5?rh, h 19 12.5T . 19 + (h-19) (12.52 + 12.5 . r(h) + r(h)*) , h > 19 where r(h) is the radius of the conical part of the tank as a function of its height, 10.5 r(h) = 12.5 +-14-(h-19). Write a .m file (either a script or a function file) called agua.m that produces a plot of the volume of water in the tank as a function of height over the interval [5,25). (The plot does not need to be labeled.)

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!