Computer Science, asked by shreya9125, 7 months ago

Write a program to input three angles viz. 30, 45 and 60 (in degrees).
Calculate and display the value of Sin 30°, Cos 60° and tan 45º.
22
Hint: 180 degree=22/7 radian​

Answers

Answered by arpitdas796
6

Explanation:

HOPE IT HELPS YOU.... MY BRAINLY FRIENDS

Attachments:
Answered by rooparajeshwarim6
0

Explanation:

public class Trigonometry

{

public static void main (String args[])

{

double m=30,n=60,p=45;

double x,y,z;

// Convert angles in radians

x=(22.0/(7.0*180.0))*m;

y=(22.0/(7.0*180.0))*n;

z=(22.0/(7.0*180.0))*p;

System.out.println("The Trigonometrical values are:");

System.out.println("The value of sin 30 degree ="+Math.sin(x));

System.out.println("The value of cos 60 degree =+Math.cos(y));

System.out.println("The value of tan 45 degree =+Math.tan(z));

}

}

Similar questions