Docsity

Introduction to Numerical Analysis - Homework | MATH 4446, Assignments of Mathematical Methods for Numerical Analysis and Optimization

Partial preview of the text

Download Introduction to Numerical Analysis - Homework | MATH 4446 and more Assignments Mathematical Methods for Numerical Analysis and Optimization in PDF only on Docsity!

Homework MATH 4446 Introduction to Numerical Analysis: Spring 2009 1. Plot the following data points using MATLAB. c -38 1 2 5 fle) -23 -11 -23 1 2. Plot f(a) =sin(2x) on the interval [0, 7] using MATLAB. 3. Convert P(x) = 42°+ bet — 3° + 7x? — 8¢+ 10 to nested form (by hand) and evaluate P(3). How many fewer multiplications are required for the function evaluation if P is in nested form? Horner’s method is often used to obtain the nested representation of a polynomial. Use Horner’s method in MATLAB to obtain the nested form of P. (Use the MATLAB help-function to obtain more information about horner.) To evaluate the function at c = 3, use the MATLAB command subs.