We know that the following formulae show the series that can be used to calculate cos(x) and sin(x):
We saw in class how to calculate a series ore efficiently. Use this concept to write a function that uses the first 20 terms to evaluate sin(x) where x is the angle expressed in radians. Write a main program to serve as a driver for the function.