Question: Problem #3 (10 points) An insulated, electrically-heated (100 kW) tank contains 250 kg of water at 15C when its power is restored. Water is withdrawn

Problem #3 (10 points) An insulated, electrically-heated (100 kW) tank contains 250 kg of water at 15C when its power is restored. Water is withdrawn at a steady rate of 0.2 g/sec and cold water (also at 15C) enters the tank at the same rate. Assume the tank is well-mixed and neglect heat gains or losses through the tank walls. Recall the open-system energy balance: dU = H, -Hou ++w, dt When heat capacities are constant and the mass rate in is equal to the mass rate out then this equation becomes: d7 mc =mc, (T.-T)+6+W, dt For water, Cp = CH = C = 4,184 J/kg.C. a) Create a script (m-file) in MATLAB to calculate how long will it take for the tank's temperature to rise to 80C (when it will turn itself off automatically). b) Display the entire program code used for your script created in MATLAB. Make sure that running the script provides a numeric result. Include your name as a comment
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
