Hi guys! Im looking if anybody know how to write do until condition for calculating taylors formula until the decimal place (we decide which one) does not change anymore.
example: I want to calculate sin(x) with taylors formula and round off result to 7 decimal places (i want corect result with 7 decimals). I need only how to write do until condition for calculating untill 7 decimals does not change anymore.
Any idea? I did it by comparing until taylors result is same as sin(x) but its wrong because i must NOT USE sin(x).
Thank you a lot :D
Bookmarks