Question

A spherical aluminum ball at a uniform temperature of 250°C is dropped into an oil |t [s] Tscat [C] bath at 50°C. The balls

0 0
Add a comment Improve this question Transcribed image text
Answer #1


017) , Os exb (esim ty By taking log in botu side- ln (024)) = f (8,00) - from the Data Oct Tsurface - 50 How clope of the li &Matlab code for plotting and finding h clear all close all fall given data t=0:10:300; T_surf=[250.3 238.1 230.1 221.0 219 2t vs. theta(t) plot theta(t) 50 100 150 200 250 tvs. log(theta(t) plot Actual data -Linear it logithetat) 100 150 300

%%Matlab code for plotting and finding h
clear all
close all

%all given data
t=0:10:300;
T_surf=[250.3 238.1 230.1 221.0 219 210.2 197.9 196 193.1 185.9 176.7 ...
    172.4 170.3 163 153.5 151.3 149.8 143.4 139 137 132.3 131.4 131.1 ...
    122.9 126.6 114.7 112.4 115.7 110.8 104.1 104.4];
th=T_surf-50;
figure(1)
plot(t,th)
xlabel('t')
ylabel('theta(t)')
title('t vs. theta(t) plot')
box on

figure(2)
plot(t,log(th))
xlabel('t')
ylabel('log(theta(t))')
title('t vs. log(theta(t)) plot')
box on

%plotting best fit line of linear data
p=polyfit(t,log(th),1);
pp=polyval(p,t);
hold on
plot(t,pp)
legend('Actual data','Linear fit')

fprintf('Here slope of the line is %f and intercept is %f\n',p(1),p(2))

%%%%%%%%%%%%%%%%%% End of Code %%%%%%%%%%%%%%%%

Add a comment
Know the answer?
Add Answer to:
A spherical aluminum ball at a uniform temperature of 250°C is dropped into an oil |t...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT