This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 4-29-9Name:EGM 3344 Introduction to Numerical Methods of Engineering Analysis FINAL EXAM In this exam you may use only two 8.5x11 formula pages (no computers or calculators). Please sign a pledge that you have not violated any of the university honesty provisions with regards to this exam. (1%)_____________________ 1.The density of freshwater can be computed as a function of temperature in centigrade, with the following equation 63210 (0.059) 1CCTTWrite Matlab code needed to generate a vector of temperatures ranging from 0 to 30 degrees (centigrade) in increments of 2 degrees, compute a vector of densities, and plot density vs. temperature. Do not use for loops or linspace. &gt;&gt; TC = 0:2:30; &gt;&gt; rho = 1e-6*(0.05*TC.^3-9*TC.^2)+ +1; &gt;&gt; plot(TC,rho) 2.Write the Taylor series of the function f(x)=x2at x=3.22( )(3)'(3)(3) 0.5 &quot;(3)(3)9 6(3) (3)f xffxfxxx3.Consider the function f(x)=ex-4x. We want to find a root of the function, starting at x=0. Construct a fixed-point iteration for solving the problem and check at x=0....
View Full Document
- Spring '09