Question: Write a program that will tabulate SIN, COS and TAN for 21 angles from 0 to 2 (use double data type). Briefly comment on
Write a program that will tabulate SIN, COS and TAN for 21 angles from 0 to 2 (use double data type). Briefly comment on the values observed for 0, 90, 180, 270, and 360 degrees (e.g., What type of error is observed?). " Use setw and strings as " to produce the following (or very similar) output, angle, rad | 0 0.314159 0.628319 deg Cos | 0 1 18 0.951057 36 0.809017 Sin | Tan 0 0 0.309017 0.587785 0.32492 0.726543
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
