HW_07-10-F - {temperature (K), Conductivity (watts/cm deg...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
ChE 348 Homework #7 _____________________________________Due: DO NOT TURN IN, for practice only Lagrange Method 1. (MATLAB) Using the following data, ( x , e x ) = {(0.85, 2.339647), (0.86, 2.363161), (0.87, 2.386911), (0.88, 2.410900), (0.89, 2.435130)} Using Lagrange’s formula , find a quartic interpolation to e 0.875 Compare the values obtained to the true values obtained from the function e x on a hand calculator. (DO NOT USE BUILT-IN MATLAB FUNCTIONS) Newton’s Method 2. (MATLAB) The following set of data shows the actual thermal conductivity change with temperature for the elementary mercury. Use Newton interpolation and the data for 300K, 500K, 600K, and 700K to construct a cubic interpolation for this data. How well does it predict the values at 400K?
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: {temperature (K), Conductivity (watts/cm deg K, k) } = {(300, 0.084), (400, 0.098), (500, 0.109), (600, 0.12), (700, 0.127)} (DO NOT USE BUILT-IN MATLAB FUNCTIONS) Piecewise Interpolation Methods 3. To study the accuracy of cubic spline interpolation, use a package available to construct interpolating splines to y = 1/(1+ x 2 ) on -3 ≤ x ≤ 3. Use evenly spaced nodes on [-3, 3] to generate data, say with 10 and 20 subdivisions. Then check the accuracy of the spline function at four times that many points. Do this for the cubic natural interpolating spline function, and Discuss your results. How does the error behave as the number of subdivisions is doubled?...
View Full Document

This note was uploaded on 11/28/2010 for the course CHE 348 taught by Professor Chelikowsky during the Spring '08 term at University of Texas.

Ask a homework question - tutors are online