Question: SOMEONE PLEASE HELP WITH THIS ERROR I KEEP GETTING IN THIS MATLAB CODE. I HAVE ATTACHED MY SCRIPT , PLEASE HELP ME ON THE ERROR.

SOMEONE PLEASE HELP WITH THIS ERROR I KEEP GETTING IN THIS MATLAB CODE. I HAVE ATTACHED MY SCRIPT , PLEASE HELP ME ON THE ERROR. WOULD UPVOTE IF IT WORKS. THANK YOU.

SOMEONE PLEASE HELP WITH THIS ERROR I KEEP GETTING IN THIS MATLABCODE. I HAVE ATTACHED MY SCRIPT , PLEASE HELP ME ON THEERROR. WOULD UPVOTE IF IT WORKS. THANK YOU. load('LiquidDat.mat'); \% load MatDat

load('LiquidDat.mat'); \% load MatDat matrix V=100/1000;; Volume of liquids and converting units from mL to L \% Calculations and Conversions rho_ W=1; \% density of water [kg/L]; \% Volume of liquids and converting units from mL to L T_room_water=( (T_room_water-32)/180)*100; \% converting room temperature of water from \%farenheit to celsius DeltaT_w=(MatDat (1,1)Troom_water); o change in temperature of water in degrees celsius T_room =((Troom-32) /180)100; \& converting room temperature of a liquid from farenheit to \%celsius DeltaT=(MatDat (:,1)Troom); \& change in temperature in degrees celsius m_W=rho_w*V; \% Solving for mass of water. [kg] Cp_w=MatDat (1,2),1000; \& converting units of specific heat from J/g*farenheit to J/kg*celsius Q_w=m_w.*Cp_w.*DeltaT_w; \% Plug variables into thermal energy equation and solve for Q of swater Units of Joules Power= Q_w/Time_water; \% Solve for power by dividing Q by the time it takes water to boil \& [W] rho=MatDat (:,3). rho_w; \% calculating density of a liquid by multiplying by density of owater m= rho*V; \& Solving for mass, [ kg] Cp=MatDat (:,2),1000; o converting units of specific heat for a liquid from J/g*farenheit sto J/kg*celsius Q=m.Cp. DeltaT; o thermal energy for each liquid (J) T=(Q/ Power) /60; \& Solve for time it takes for each liquid to boil, converting seconds to min (mi % Outputs MatDat (:,4)=T o Place the values of t for each liquid in the fourth column of MatDat Assessment: 3 of 4 Tests Passed (71\%) Loading Variables 14%(14%) Power Check 29%(29%) ( Heat Energy Check 0%(29%) Variable m has an incorrect value. The mass values in the variable m are incorrect. Check your calculations and units. Your heat energy values in Q or one of the of the intermediate values used to determine the heat energy is missing or incorrect. Look at the error message for details

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!