Question: Question 2 . Interpolation of Temperature Data In this question ( Question 2 ) we will use interpolation and root finding algorithms to analyze heat

Question 2. Interpolation of Temperature Data
In this question (Question 2) we will use interpolation and root finding algorithms to analyze heat transfer in an
environmental application. Lakes in temperate climates can become thermally stratified during the summer: a layer
of warm buoyant water near the surface, called the epilimnion, overlies a layer of colder denser water near the bottom,
called the hypolimnion. The thermocline is a thin horizontal layer that separates the epilimnion and hypolimnion.
Quantifying thermal stratification by approximating the depth of the thermocline can be important when estimating
the impacts of pollution on a lake.
The following data represent measurements of the temperature T(in C) at various depths z(in m) measured
from a single location on a stratified lake in a temperate region similar to Guelph, ON1 :
?1 This is not real data, but the values selected are close to values from a real data set drawn from a lake in the Midwestern United
States.
For the purpose of this assignment, for a given temperature distribution T(z) for depths zin[0,27.2], we define the
depth of the thermocline zthermocline as the depth z where the magnitude of the derivative |T'(z)| is maximized
over the interval zin[0,27.2].?2
(a) Newton Polynomial Interpolation
Build a MATLAB function which takes n data points (x1,y1),dots,(xn,yn) as input variables and outputs
a polynomial interpolant f of degree n-1(in the form of a symbolic function) by following Newton's divided
difference algorithm. Then:
i. Use your Newton Interpolation MATLAB function to produce a polynomial interpolant (a symbolic func-
tion) that models temperature TNewton(z) as a function of depth z and fits the provided depth/temperature
data. You don't need to submit the actual form of the symbolic function (it will be ugly). Instead, submit
a plot of your polynomial interpolant TNewton(z) over the interval of depths zin[0,27.2].?3
ii. Submit another plot of the graph of the magnitude of the derivative |TNewton'(z)| over the interval of
depths zin[0,27.2]. Based on this plot, what would you discern is the depth of the thermocline zthermocline
according to the temperature distribution TNewton(z)? Is this a reasonable value for zthermocline?
 Question 2. Interpolation of Temperature Data In this question (Question 2)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!