Determine the Maclaurin polynomial of minimal degree needed
Solution
There are mutiple question s given. Only one can be answered here at a time. It is #1 therefore, as given below:
#1 To calculate sin(1) using Maclaurin polynomial
Let f(x) = sin x, so that
f\'(x)= cosx ; f\" (x)= -sin x ; f\'\'\' (x) = -cos x and so on.
Hence f(0)=0; f\'(0)=1; f\"(0)=0; f\'\'\'(0)= -1 ; f4(0)=0; f5(0)= 1...
In general, nth Maclaurin Polynomial for a function f(x) is given by
Pn(x) = f(0) + f\'(0) x + f\" (0) x2/2! + f\'\'\'(0) x3/3! +....
In the present case it would thus be Sin x = 0 + x +0- x3/3! +0 +x5/5! -....
Thus P1= x ; P3= x- x3/3!; P5 = x-x3/3! +x5/5!: P7 = x-x3/3! +x5/5! - x7/7!..
(P2, P4... will all be 0)
P1 gives sin1 =1; P3 gives sin1= 1- 1/6=5/6=0.833333.., P5 would give sin 1= 1-1/6 +1/120=0.841666 and P7 would give sin1 = 1-1/6 +1/120 -1/5040 = 0.841468
The value of sin 1 is given by0.841471(approx) , where only the last digit has been rounded. It would thus be seen that P5 is the minimal degree polynomial which gives sin(1) to the accuraccy of 3 decimal places.
*****
