Problem 55775. Taylor Series
You can use a Taylor series to approximate common functions. The Taylor series for sin(x) is
Using only the first several terms in the series could get you a good approximation to the function.
Write a function that takes a point x at which to evaluate the sine function and a tolerance level that defines how close you want the Taylor series approximation to be to the actual value. Your function should output the approximate value of sin(x).
Solution CommentsShow comments
Problem Recent Solvers108