Estimate the temperature gradient at location

Assignment Help Engineering Mathematics
Reference no: EM131557235

The figure below illustrates a thermocline, or region of strong temperature gradient in a stratified fluid. Oceans exhibit this type of behavior. The depth of the thermocline is defined as the location at which the curvature of the depth-temperature curve goes to zero (d2T/dz2 = 0, an in inflection point). The temperature gradient at this location determines the heat transfered between the ocean surface and the ocean floor according to Fourier s law, q = -kdT/dzwhere q is the heat flux density in W/m2 and k is the thermal conductivity in W/mK.

Note that the data should be plotted as shown in the figure with depth on the vertical axis, but that the curve t should be done for temperature as a function of depth (not depth as a function of temperature).

For this problem, assume these data are exact.

1420_Figure.jpg

Depth, m

 

0

100

300

400

500

700

1000

1250

1500

1750

Temperature,

C

22

21.9

20.8

19.1

16.4

10

6.2

5.1

4.6

4.4

(a) By solving a linear system (Vandermonde matrix), find the polynomial that passes through all data points. Plot the polynomial curve. On the same graph, plot the data points. Predict the thermocline depth using the interpolation results. You may want to use the MATLAB function roots for finding the inflection point, or you may wish to use fzero. Note any difficulties you have with this calculation. Estimate the temperature gradient at this location.

(b) What is the minimum-order polynomial that could reasonably be used to predict the thermocline depth? (Hint: you are looking for an in inflection point.) For this order polynomial, find the least-squares curve t using the MATLAB function polyfit. Plot the polynomial curve and the data points. Predict the thermocline location. Estimate the temperature gradient at this location.

(c) Use the MATLAB function spline to interpolate the data as cubic splines. You can call the function by typing

>>f = spline(x,y,xi);

wherex is the vector of depth locations, y is the vector of temperatures and xi is a vector of depths at which the interpolation is to be completed. fwill be a vector of interpolated temperatures. Plot the curve and the data points. To estimate the second derivative, you need to unmake the partial-polynomial form. To do this, type

>>pp = spline(x,y);

The resulting vector can be "unmade" by typing

>>[breaks,coef,L,K] = unmkpp(pp);

The matrix, coef, will be an N*4 matrix where N is the number of intervals. The rows of the matrix are the cubic polynomial coe¢ cients for the corresponding interval. For example, the cubic describing the second interval is given by

f2(x) = coef(2,1)(x -x2)3 + coef(2,2)(x- x2)2 + coef(2,3)(x- x2) + coef(2,4)

Since you ought to be able to determine in which interval the inflection point will occur, you should be able to extract the depth where the second derivative reaches zero.

(d) Compare the thermocline depth predictions and the temperature gradient estimates from each of the three methods. Discuss, including other observations about the three approximations. Which do you think is likely to give the most physically realistic result?

(e) With the help of the MATLAB function csape, repeat parts (c) and (d) for end conditions corresponding to the natural ( "variational" ) spline and the default ( Lagrange ) spline and compare with results for the MATLAB default "not-a-knot" end condition. Comment on the differences. Which do you think is likely more correct and why?

Reference no: EM131557235

Questions Cloud

Describe your professional and academic goals : Your plans for using your bachelor's degree in forensic psychology. Describe your professional and academic goals.
Reviews strength and trend analysis of a fast-food franchise : View a video that reviews and considers the strengths, weaknesses, opportunities, threats, and trends (SWOTT) analysis of a fast-food franchise.
Relationships between banks and insurance companies : Determine three benefits resulting from the relationships between banks and insurance companies. Provide examples as support.
Analyze the significance of using theory to clinical health : Analyze the significance of using theories to clinical mental health counseling practice and factors that impact developing theoretical orientations.
Estimate the temperature gradient at location : Compare the thermocline depth predictions and the temperature gradient estimates from each of the three methods- Which do you think is likely more correct
What obstacles will you face during implementation : Write a 300- to 525-word response for the case study. What obstacles will you face during implementation
Focus on the significance of theory in counseling practice : Review the article, "Differentiating Between Counseling Theory and Process." Focus on the significance of theory in counseling practice.
Find the rule that makes lawyers responsible : Find the rule that makes lawyers responsible for the conduct of their employees. Is this a strict liability rule
Explain a breakdown of procurement process for organization : Explain a breakdown of procurement process for this kind of organization. How procurement process for your organization differs from its commercial counterpart.

Reviews

Write a Review

Engineering Mathematics Questions & Answers

  What is the lump-sum present value of this deal

An auto dealership is running a promotional deal whereby they will replace your tires free of charge for the life of the vehicle when you purchase your car.

  Determine the codewords and the minimum weight of the code

[Linear Block Codes] The generator matrix for a (1 0, 4) linear block code is given by.

  What is the force exerted by charges a and b on c

Two electrons repel each other with a force of 10-8N. How far apart are they?

  Overview of the descriptive statistics

Hypotheses - List the statistical notation and written explanations for the null and alternative hypotheses for the study. Variables - Identify the variables and each of their attributes: discrete or continuous, quantitativ..

  Dicuss what is the markov chain

Suppose every time a tennis player registers to play a tournament, she enters the qualifying stage. If she wins, then next week she plays in the round.

  Find the maximum profit

The profit on a wren house is $9.30 and the profit on a martin house is $5.50. Find the maximum profit.

  Write complete addition and multiplication tables for field

You should give sufficient detail for the arithmetic operations to be carried out but you do not need to write down the complete addition and multiplication tables for the field.

  Sketch the cauchy probability density function

Determine the probability that a patient will make it through 600 days without a recurrence and compute expected frequencies for each of the cells in the table

  Determine joint distribution of the least-squares solution

Determine the joint distribution of the least-squares solution β' - Comment on how to go about constructing a confidence interval for the linear regression line at an arbitrary explanatory point x.

  What is the estimated sales revenue

A restaurant has 100 seats with an average turnover of 2.5, with an average check of $14.75. The restaurant is open 260 days a year.

  Find a nonconstant monotonically increasing function

Find a nonconstant monotonically increasing function g on (0, 1] such that f ∈ R([O, 1],g), and provide a proof for your assertion.

  What are the firm cost-minimising levels of employment

What are the firm's cost-minimising levels of employment and capital stock if it produces 200 units of output?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd