Question: PLEASE Use MATLAB for these problems. Problem 1: On a piece of paper/by hand write the Taylor Series as shown in class for sin(x) where

PLEASE Use MATLAB for these problems.

PLEASE Use MATLAB for these problems. Problem 1: On a piece of

Problem 1: On a piece of paper/by hand write the Taylor Series as shown in class for sin(x) where x is in radians for x = 0 rad and h = a rad for fourth order accuracy. Replace h=a rad in the final expression with 0.1 rad and find the error between trueValue, and approximate value that you calculated. You can use a calculator to find the trueValue Note: The calculator used might have D written on screen that means degrees. So, the easiest way is to use MATLAB to calculate the trueValue. If the question had mentioned "with x in degrees and value of h = a = 0.1 degrees then you need to change the degrees to radians and only then use Taylor series formula/expression. Formula: f(x +h) = f(x)+"%s"(x)*** F"(x) + f'"'(x) + Och) Problem 2: On a piece of paper/by hand write the Taylor Series as shown in class for cos(2x) where x is in radians for x = 0 and h = a for fourth order accuracy. Replace h=a rad in the final expression with 0.03 rad and find the error between trueValue, and approximate value that you calculated. You can use a calculator to find the trueValue. Note: The calculator used might have D written on screen that means degrees. So, the easiest way is to use MATLAB to calculate the trueValue. If the question had mentioned with x in degrees and value of h = a = 0.03 degrees then you need to change the degrees to radians and only then use Taylor series formula/expression. Formula: f(x + h) = f(x)+5'(x)** ["(x) + f''(x) + O(h*)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!