Question: 1. Derive the second, fifth and tenth order Taylor polynomials around a for the following functions? a) f(x)=, a = 1 b) f(x) In
1. Derive the second, fifth and tenth order Taylor polynomials around a for the following functions? a) f(x)=, a = 1 b) f(x) In (x+1), a = 1 = c) f(x) = cos x, a = 1 Write a MATLAB code Taylor polynomials for a), b) and c). Evaluate the code for the values of x = 0.5, 1.5, 2. Show the exact errors as in the table and repeat the same thing for a = 2 Errorfi(x) Error f(x) Error f(x) 0.5 1.5 2.5
Step by Step Solution
3.36 Rating (146 Votes )
There are 3 Steps involved in it
Function to calculate factorial function result factorialn result 1 for i 2n result result i end end Function to calculate the nth derivative of sqrtx ... View full answer
Get step-by-step solutions from verified subject matter experts
