Question: This problem is for my computer science class that we must create in MATLAB software. The following equation describes the process of warning a hot

This problem is for my computer science class that we must create in MATLAB software. The following equation describes the process of warning a hot tub by adding hot water T=T_ln -(T_1 - T_start)o^(o/y)L where: T is the temperature of the water in the hot lub T_ln is the temperature of the water flowing into the hot lob. 130 F T_ is the initial temperature of the water in the tub 65 F Q is the hot water flow rate (5 gpm) V is the volume of the hot tub (500 gallons) 1 is the elapsed time since the hot water started flowing a) Create an x y plot that shows how the hot tub water temperature (T) increases over time (t). Your temperatures should be plotted from 65degree F up to 110 degree F You may have to extend your time vector until it causes the temperature to exceed 110degree F. Identify each major temperature data point (increments of 5degreeF) of your plot. Add a textual annotation to your plot that lists the approximate time at which the tub's water temperature first reaches 10degreeF. If the hot-water flow rate was increased to 10 gpm. how long would it take for the water temperature in the tub to reach 110degreeF? Again, you may have to extend your lire vector until it causes the temperature to exceed 110degreeF. Have MATLAB draw a second plot, representing this second set of data on the same graph as the first plot. Add a second textual annotation for the second plot. Include a legend that identifies each plot
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
