Help me study for my Programming class. I’m stuck and don’t understand.
Time (s) |
0 |
5 |
11 |
15 |
Temperature () |
22.0 |
18.2 |
15.2 |
13.4 |
Q1: Only using the experimental temperature vs time data, and no other data, use second-order polynomial interpolation to estimate the rate at which temperature is changing with respect to time at the 3rd data point. You cannot use MATLAB functions for this question. Set up the problem instead as three equations – three unknowns. You can solve the equations though using the MATLAB linsolve command. You need to use loops to set up the equations. Display the second-order polynomial as well.