Search for question
Question

CSC/CIS 17C-DataStructures Midterm

Problem 5) Derive the order of the error with respect to the sin and cosine approximations.

sin(x)= x-x131+x²15!-x²17!+...

cos(x)

1-x²/2/+x/4!-x²16!+....

Approximation

sin (1/N) 1/N

error sin (1/N)=0(?)

cos (1/N) ~1-1/(2* N²)

error cos(1/N)=0(?)

Fig: 1