Question: Welcome to the program to compute sin(x) Enter x: 30 Enter tolerance (precision) -example 0.0001: 1e-5 The approximate value of sin(x) for x: 0.52359878 using:


Welcome to the program to compute sin(x) Enter x: 30 Enter tolerance (precision) -example 0.0001: 1e-5 The approximate value of sin(x) for x: 0.52359878 using: 4 term (s) is 0.49999999 Would you like to try again? "Y' or 'y' to continue): y Enter x: 90 Enter tolerance (precision) - example 0.0001: 1 Error tolerance must be greater than 0 and less than 1 Enter tolerance (precision) - example 0.0001: le-9 The approximate value of sin(x) for x: 1.57079632 using: 8 term (s) is 1.00000000 Would you like to try again? 'Y' or 'y' to continue): y Enter x: -720 Enter tolerance (precision) - example 0.0001: o.0000000001 The approximate value of sin(x) for x: -12.56637060 using: 32 term (s) is 0.00000001 Would you like to try again? ('Y' or 'y' to continue)y Enter x:0 Enter tolerance (precision)example 0.0001: 1e-9 The approximate value of sin(x) for x: 0.00000000 using: 2 term (s) is 0.00000000 Would you like to try again? "Y' or 'y' to continue): n
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
