clc;
% Matlab script to calculate the time required to cool the drinks
and then
% plot the cooling temperature vs time
% inputs
Ti = input('Enter the current temperature of the drinks (in F) :
');
Tr = input('Enter the temperature of the fridge (in F) :');
Tc = input('Enter your favorite drinking temperature (in F) :
');
k = 0.35;
% calculate the time required
t = log((Tc-Tr)/(Ti-Tr))/(-k);
fprintf('It should take %.2f hours to cool the drinks to %.2f
degrees F if my fridge has a temperature of %.2f degrees
F',t,Tc,Tr);
% create a time vector
time = (0:0.25:2*t);
% calculate the cooling temperature for the different time
values
Tnc = Tr+(Ti-Tr) .* exp( -k.* time );
% plot the graph
plot(time,Tnc,'rd-');
title('Drink Temperature v/s Time');
xlabel('Time');
ylabel('Drink temperature');
%end of script
Output:
The second photo is what the Instructor gave us to start off with. You are able...
Need help with the 3 questions below. Thank you in advance! 1. A can of soda is taken from a room temperature where the temp. is 72F and placed into a refrigerator where the temp. is 42F. Assume that the soda cools according to Newton's Law of Cooling. a. Assume that after 5mins. the temp. of the soda is 60F. Find the temp. of the soda after t mins. (find k to four decimal places). b. Find the amount of...
You happen to find yourself employed as an expert mathematical consultant for a new Australian TV show called "Numer4ls". The producer wants an episode in which the lead character uses his mathematical skills to solve a murder mystery by accurately determining the time of death of the victim, which in this case will be made more complicated by a varying ambient temperature, and will therefore involve a lot of maths written in liquid chalk on glass panels, and some computer...
help 1-6 thank you Fill in the blank so that the resulting statement is true. If log 5x + log 5(x + 2) = 2, then log 5 = 2 If log 5X + log 5(x + 2) = 2, then log 5 = 2. Rewrite the equation in terms of base e. Express the answer in terms of a natural logarithm and then round to three decimal places.. y = 94(3.5)* Express the answer in terms of a natural...
I already had this question answered and webwork says the answers for the 4th and 5th question are incorrect. This is their work and I need help with this one 1 point) Susan tinds an allen antfact in the desert, where there are temperature variations from a lowin the 30s at night to a high in the 100s n the day. She is interested in how the aritact will (hotly pursued by the matary police who patrol Area 51), and...
What is the volume of the sphere in Procedure 2 in units of cm3? Express your answer to two significant figures. LAB 14: IDEAL GAS LAW BASIC CONCEPTS TEXTBOOK: SECTIONS 15.2, YOUNG, 10TH EDITION DEFINITIONS Volume: The space taken up by an object, measured in cubic meters (m"). Pressure: For an enclosed gas, pressure is defined as the force exerted per area by the gas on the container walls, measured in Pascal (1 N/m) Temperature: A measure of the average...
Chose the correct answer(s) from the multiple choice lists below 1. Exergy of a system is a) b) always increasing e) guided by the first and second laws of thermodynamics for reversible processes only Un d) limited by the second law of thermodynamics for all processes. processes, it is destroyed partly or completely). e) equal to the Gibs free energy of the system. 211two electrodes, one made of u (E.-3.06 V) and another made of Cu ΟΕ.+034V placed in an...
You need not run Python programs on a computer in solving the following problems. Place your answers into separate "text" files using the names indicated on each problem. Please create your text files using the same text editor that you use for your .py files. Answer submitted in another file format such as .doc, .pages, .rtf, or.pdf will lose least one point per problem! [1] 3 points Use file math.txt What is the precise output from the following code? bar...