Answered step by step
Verified Expert Solution
Link Copied!

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 11: 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^2 T / dz^2)=0. 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 built-in function. a) First, plot the data points with MATLAB, (notice that x-axis values are Temperatures, while y-axis values are depth)>plot(z, T, r^*')(don't 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 built-in function "spline" (use help to learn more on spline command) zz=linspace(0,-16.1) ; TS=spline(z, T, zz) ; plot(zz,TS) orselect a different color if you like c) Now use FDD, BDD, or CDD (whichever is appropriate) to find the 1st and 2nd derivative of Temperature (T) with respect to depth (z) with O(h^2). Plot these results separately, and locate the thermocline from d^2 T / d z^2 plot. (Formulations for FDD, BDD, and CDD are given in Figures 21.3,21.4, and 21.5, respectively).d) If the heat flux from the surface to the bottom layer can be computed with Fourier's LAW J=-k d T/d z Compute the flux at this thermocline interface (k=0.01 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Understanding Databases Concepts And Practice

Authors: Suzanne W Dietrich

1st Edition

1119827949, 9781119827948

More Books

Students also viewed these Databases questions

Question

Define forensic psychology.

Answered: 1 week ago