Help!

I have writen a program that calculates the sin(x) with taylors formula but it doesnt work the way i want. The program should read the x value from A2 (radians) and k value from B2 (number of decimal places) and write the result value in C2.

Program should calculate the value of sin(x) with taylors formula to k decimal places until the decimals doesnt change anymore. I think the best is that program calculate to k+1 decimal places and then round off the result to k decimal places.

Thank you guys for help.

The excel document is attached.

## Bookmarks