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 probability of a type i error

What is the probability of a Type I error? Explain this concept in the context of this problem to Julie's coach, who has never studied statistics

  Explain the tree algorithm

Consider the tree algorithm in Fig. Given that k collisions occur in a CRP, determine the number of slots required for the CRP. Check your answer.

  Show the equivalent decimal arithmetic operation

For problem assume that the binary numbers are in two's complement binary code show the equivalent decimal arithmetic operation and indicate.

  Linear programming problem using graphical method

Find the complete (including values for slack variables) optimal solution to this linear programming problem using. graphical method

  Compare and contrast the two varma models

Consider the realized volatilities of the Alcoa stock from January 2, 2003, to May 7, 2004, for 340 observations. The realized volatilities are the sum of squares of intraday m-minute log returns.

  Clocks sell for euro45 radios for euro60 and toasters for

a company produces three electrical products-clocks radios and toasters. these products have the following resource

  Define the concept of matrix multiplication

A company's input requirements over the next four weeks for the three inputs X, Y and Z are given (in numbers of units of each input) by the matrix.

  Determine the optimal product mix

Formulate a linear programming model to determine the optimal product mix that will maximize profit. Transform this model into standard form.

  Management scientist software

Formulate a linear programming model that can be used to determine the daily production schedule. Determine the optimal production schedule using the Management Scientist software.

  What is the probability of an individuals purchasing product

A large consumer goods company ran a television advertisement for one of its soap products. On the basis of a survey that was conducted, probabilities.

  Determine the value of each ton of product requires

Selling and distribution costs are $20 per ton of product. General overheads are 10% of sales revenue. Tax rate is 50%. Determine the value of Each ton of product requires.

  What is the break-even point in bottles of health wine

(Break-even point and operating leverage) King Inc. is a health wine company in China. The average selling price of its finished product is 38 Chinese Yuan.

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