Answered step by step
Verified Expert Solution
Question
1 Approved Answer
write in matlab Code please!!!!!! *HW7 2 Ball bearings are hardened through a process known as quenching-submersion of the heated ball bearing in oil or
write in matlab Code please!!!!!!
*HW7 2 Ball bearings are hardened through a process known as quenching-submersion of the heated ball bearing in oil or water in order to cool it rapidly. The data below represent the temperature of the ball at variou points in the cooling process time (sec) 030 60 150 240 Temp (C) 800 457 269 7946 Plot the data, along with a) interpolating polynomial, (use polyfit and polyval) b) piecewise cubic interpolation (not-a-knot) and c) piecewise cubic interpolation (shape-preserving) all in one figure window. Include a legend for the three methods used: polynomial interpolation, not-a-knot, shape-preserving Then choose what you believe to be the best of these to predict the temperature after 3 minutes of cooling. Store the result in the variable T 3min. Paste the script file into Cody, which will check the correctness of T 3min by a hidden testStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started