I have to create a program that reads in a value for x in degrees and then calculates sine of x using the sine intrinsic function. Then calculates the sine of x using the infinite series equation.
I know how to write the code to calculate the sine using the intrinsic funtion, but im stuck at how to create the code for the infinite series.
Any help will be appreciated. Thanks
I know how to write the code to calculate the sine using the intrinsic funtion, but im stuck at how to create the code for the infinite series.
Any help will be appreciated. Thanks