Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

AaBbCcDdEeAaBbCcDdEe Normal No Spacing 3. An object with an initial temperature

ID: 3890495 • Letter: A

Question

AaBbCcDdEeAaBbCcDdEe Normal No Spacing 3. An object with an initial temperature of To that is placed at time t 0 inside a chamber that has a constant temperature of T, will experience a temperature change according to the equation: Where T is the temperature of the object at time, t, and k is a constant. A soda can at a temperature of 120° F (was left in the car) is placed inside a refrigerator where the temperature is 38° F Calculate the temperature of the can, to the nearest degree, for each minute of a 3 hour period. Assume k-0.45 hr·(ne units of k show that time, t, must be in terms of hours for the equation.) Suppose a 2nd soda can is placed inside the refrigerator at the same time as the first can, but this can has an initial temperature of 78° F. Calculate the temperature of this can over the same 3 hours, but make sure that each temperature is always rounded up. (Both cans have the same constant, k.) Create a plot of soda can temperature over time. Make sure to include the plots of both soda cans on the same coordinate axes. (We learned two methods in class that allow you to do multiple plots in one graph.) . . Use random number generating functions to create 1) A random integer between 1 and 12 2) A random number between 0 and 1 that is rounded to 2 decimal places. Calculate the remainder of dividing the random integer by the random number 4.

Explanation / Answer


k=0.45;
t01=120;
ts=38;
t02=78;
t1=[];
t2=[];
time=[];
for i=1:180
t1(i)=round(ts+(t01-ts)*(e^(-k*i)));
t2(i)=round(ts+(t02-ts)*(e^(-k*i)));
time(i)=i;

end
plot(time, t1, time, t2, '.-'), legend('can1', 'can2')

---------------------------

.

4.

a = 1;
b = 12;
rint = (b-a).*rand() + a;

rnum= round(rand(),2);

remainder=(rint/rnum);

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote