[SOLVED] E880 Problem Set 5

30.00 $

Category:
Click Category Button to View Your Next Assignment | Homework

You will receive the following solution file(s) instantly after successful payment:

zip file icon PS5-1rxlqh.zip (470.8 KB)
Assignment Instructions Updated Recently? Submit Below and we will provide new Solution!
Submit New Instructions
🔒 Securely Powered by:
Secure Checkout
5/5 - (1 vote)

1. DoExercise6.1:f(x)=􏰆x21 +1􏰇3,x0=1.

(a) Computedegree1and2Taylorseriesapproximation. (b) ComputePadéapproximation(1,1).

2. Considerthefunction f (x)=e4x−2 over[0,2]interval,andconstructthefollowingapproxima- tions to it:

• Chebyshevpolynomialsofdegree4;choose5pointstouseasnodes. • Cubicsplineover5equallyspacedpointsin[0,2].

Then evaluate your approximations over 101 equally spaced points in [0,2] and plot them along with the true function. Comment on results – which method works better? Are higher- order Chebyshev coefficients indeed smaller? Do approximations match the slope and curva- ture of the original function?

“Construct the approximation” means coming up with the formula, determining the coeffi- cients and writing a Matlab function that evaluates the approximation for an arbitrary x ∈ [0,2]. Determining the coefficients for all but Taylor requires using the standard estimation formulas or conditions, which use values of the function at nodes (and nowhere else), so it is worth writing a Matlab function for that as well. Finally, you might want to code function representing f (x ), so you can easily re-use your code with a different function.

Please code the polynomial computations yourself. You can use Matlab’s tools to solve systems of equations, but you have to formulate the system yourself. If you cannot figure out splines, you can use Matlab’s spline() for a small penalty in points.

1

  • PS5-1rxlqh.zip