Question

I just need the last part. T_3minHW7_3 Ball bearings are hardened through a process known as quenching-submersion of the heated ball bearing in oil or water i

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

Code:

clc
clear

t = [0 30 60 150 240];
T = [800 457 269 79 46];
tq = 0:240;

pa = polyfit(t, T, 3);
Ta = polyval(pa, tq);
Tb = interp1(t, T, tq, 'pchip');
Tc = interp1(t, T, tq, 'spline');

plot(t, T, 'ro');
hold on
grid on
plot(tq, Ta, '-b');
plot(tq, Tb, '--m');
plot(tq, Tc, '-.k');
legend('data', '3 degree polynomial', 'piecewise cubic', 'not-a-knot');
xlabel('time(sec)');
ylabel('Temp(C)');
%% clearly from the graph not-a-knot predict best
disp("Temp after 3 min:")
disp(Tc(find(tq == 180)))

Output:

Temp after 3 min:
72.8395

>> o data - 3 degree polynomial ---piecewise cubic -------not-a-knot Temp(C) R 50 100 150 time (sec) 200 250

Add a comment
Know the answer?
Add Answer to:
I just need the last part. T_3min HW7_3 Ball bearings are hardened through a process known...
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
  • Ball bearings are hardened through a process of heating and then rapid cooling. The temperature of...

    Ball bearings are hardened through a process of heating and then rapid cooling. The temperature of the ball during this process can be estimated using the equation: T(t) = (ti-to)*e^(-t/T)+to where ti = initial ball temp = 800 degrees celcius to = initial oil temp = 40 degrees celcius    t = time = 0-180 seconds at 1 second intervals    T = time contraint Create a graph in matlab showing ball temperature versus time. the graph should have 3...

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