Question: Can someone do question 2 pls thank you Assignment 2 Use MATLAB or any computer program to complete the following problems. 1. From the Taylor's
Assignment 2 Use MATLAB or any computer program to complete the following problems. 1. From the Taylor's series of sin(I) and cos(I), 2+1 f(x) = sin(x) + cos(x) = (-1) |(2k + 1)! (24:)! Let T. (e) = 1-2)* (2+0): + (1232 =0 () = 2k)! be the n-th order Taylor's series expansion of f(). (a) Plot f(1) = sin(x) + cos(), Ti(r). T2(1) T5(+) for 3 --.-). What do you observe from using higher order Taylor's series expansion ? (b) Plot T. (3.) for n=1,2,..., 20. Note: In this case, your 1-axis should be n. 2. (Optional) Write a Matlab program to compute the value of the following function f(t) = (1 + 1) => 0 where the value of r is smaller (gets closer to zero) in each iteration. Choose your own initial value of 1, e.g. 0.1 and decrease its value every iteration. Compare with the limit lim f(x) that you've learned from calculus class
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
