write a program in Java that calculate the value of sin 30 cos 30 and Tan 30 now display the lowest value of trigonometric ratio
Answers
Answered by
3
Answer:
double thirty = 30*Math.PI/180; // 30 degrees in radians
double sin30 = Math.sin(thirty);
double cos30 = Math.cos(thirty);
double tan30 = Math.tan(thirty);
double minval = Math.min(sin30, Math.min(cos30, tan30));
I assumed that "sin 30" meant the sine of 30 degrees, since 30 radians is nearly five complete circles. The degree-to-radians conversion factor is pi/180. The Math.min() function returns the smaller of its two arguments, so min(a, min(b,c)) is the smallest of the three values a,b,c.
Read more on Brainly.in - https://brainly.in/question/12244476#readmore
Answered by
0
hope it helps you... ....
Attachments:
Similar questions
English,
5 months ago
Chemistry,
5 months ago
Social Sciences,
5 months ago
Physics,
11 months ago
History,
1 year ago