Answered step by step
Verified Expert Solution
Question
1 Approved Answer
W TH MATLAB PLS Lab Session 1 1 : Numerical Differentiation Use of Splines to estimate heat transfer ( Numerical Differentiation ) Lakes in the
WTH MATLAB PLS Lab Session : Numerical Differentiation Use of Splines to estimate heat transfer Numerical Differentiation Lakes in the temperate zone become thermally stratified during the summer. Such stratification effectively divides the lake vertically into two layers: the epilimnion and the hypolimnion, separated by a plane called the thermocline. The location of the Thermocline has great significance for environmental engineers. In particular, thermocline greatly diminishes mixing between the two layers, as a result, the decomposition of organic matter can lead to severe depletion of oxygen in the isolated bottom waters. The location of the thermocline can be defined as the inflection point of the temperaturedepth curve; that is the point at which d T dz It is also the point at which the absolute value of the first derivative or gradient is a maximum. Use cubic splines to determine the thermocline depth for a Lake for which the Temperature vs Depth data is given as follows The purpose of this task is to analyze the data with the use of MATLAB spline builtin function. a First, plot the data points with MATLAB, notice that xaxis values are Temperatures, while yaxis values are depthplotz T rdont forget your axis labels and other details in your plot b on top of this plot, also plot the results of MATLAB spline interpolant using builtin function "spline" use help to learn more on spline command zzlinspace ; TSsplinez T zz ; plotzzTS orselect a different color if you like c Now use FDD BDD or CDD whichever is appropriate to find the st and nd derivative of Temperature T with respect to depth z with Oh Plot these results separately, and locate the thermocline from d T d z plot. Formulations for FDD BDD and CDD are given in Figures and respectivelyd If the heat flux from the surface to the bottom layer can be computed with Fourier's LAW Jk d Td z Compute the flux at this thermocline interface k cal s cm C NOTE: Please check "help spline" and "help diff" to get more information on using built in functions
Step 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