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.

(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
Get step-by-step solutions from verified subject matter experts
