CIS 210 Fall 2010.assignment.3

CIS 210 Fall 2010.assignment.3 - The input should be in...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
CIS 210 Fall 2010 Assignment 3 Due: new date: October 11, 2010 The sine of a number measured in radians is given by the expansion: sin(x) = x – x 3 /3! + x 5 /5! – x 7 /7! + - - - 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.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 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

Ask a homework question - tutors are online