Question: PLEASE ANSWER USING MATLAB 32 6. (Problem 18.9) The following data define the sea-level concentration of dissolved oxygen for fresh water as a function of
PLEASE ANSWER USING MATLAB

32 6. (Problem 18.9) The following data define the sea-level concentration of dissolved oxygen for fresh water as a function of temperature: T,C 0 8 16 24 40 0, mg/l 14.621 11.843 9.870 8.418 7.305 6.413 Using MATLAB built-in functions, write an m-file script to fit the data with (a) piecewise linear interpolation, (b) a fifth-order polynomial, and (C) a spline. Display the results graphically (on one page) and use each approach to estimate o (27). Find the percentage error of o (27) for each approach knowing that the exact result is 7.986 mg/L
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
