Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write Matlab Program as decription followed and the output show as below. There are four heating and cooling coefficients. K = 5e-4 H = 0.1
Write Matlab Program as decription followed and the output show as below.
There are four heating and cooling coefficients.
K = 5e-4
H = 0.1
AmbientTemp =20
dTime = 1
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 Filename: Program 08 3 Author Assisted by (list names here if you received assistance) Assistance Received: (describe how you vere assisted here) Program Description: R The purpose of this program is to use a while loop to track the temperature of the interior of an incubator for four heat cycles. A heat cycle is completed whenever the heater status changes from on to off to on The heater is able to increase the temperature of a perfectly R insulated incubator according to the formula H at there H is the heating coefficient in units of Deg C/sec and dt is the time interval. In the actual incubator the temperature will change by H cit k dt (Incubator Temp- Ambient Temp) in each interval dt then the heater is on When the heater is off, the temperature will change by R k dt (Incubator Tempo Ambient Temp) in each time interval dt Prior to the trial the heater status vill be set to off Two set-points will be set to control the heater The heater is to go on whenever the Incubator Temp is less than the lover threshold temperature The heater is to go off whenever the Incubator Temp is greater than the upper threshold temperature. The heater vill maintain its previous status uhenever the the Incubator temperature is between the two thresholds or equal to either threshold. A table will be printed showing the time incubator temperature and Heater status every time the status of the heater changes. A graph taill be created shouing the incubator temperature for four full heating cycles using a solid blue line with a line vidth of 2 The graph vill R also contain red dotted lines showing the upper and lower threshold temperatures for the incubatorStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started