Question: Write a fortran program that creates (prints to the console) a nice table of the values of sine, cosine, tangent, secant, cosecant, and cotangent at
Write a fortran program that creates (prints to the console) a nice table of the values of sine, cosine, tangent, secant, cosecant, and cotangent at all even degree multiples of 10 and 15 between 0 and 360. (The mod function may be useful here.) You may do this using arrays or without, depending on your preference. The table should have a header row and a separator row. The angle should be shown as an integer in a width 4 field and each trigonometric value in the table should have width 8 with 4 digits to the right of the decimal place. Some functions will give infinite results for certain angles, so check and print INF for those results.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
