I'm sorry for posting so much but I have another question.
The problem says:
let f(x) = sin(x).
Use the Lagrange formula to find the smallest value of n so that the nth degree Taylor polynomial for f centered at x = 0 approximates f at x = 1 with an error of no more that 0.001.