This preview shows page 1. Sign up to view the full content.
Unformatted text preview: - - - and the cosine is given by the expansion: cos(x) = 1 x 2 /2! + x 4 /4! + x 6 /6! - - - - Write a program that will calculate the sine and cosine of an angle. The input should be in degrees. You must convert the degrees into radians. Use a CONSTANT PI =3.14159. The output should be degrees. Permit the user to enter the accuracy called delta and have the program cycle back for multiple angles. The means you will have at least one loop inside of another loop....
View Full Document
This note was uploaded on 02/05/2012 for the course CIS 210 taught by Professor Feinstein during the Fall '10 term at S. Alabama.
- Fall '10