+ 1
how to get degree value for sin 90 ?
3 Answers
+ 1
package com.java2novice.math;
public class MySineEx {
public static void main(String a[]){
System.out.println("Value of sin(90) is: "+Math.sin(90));
System.out.println("Value of sin(45) is: "+Math.sin(45));
System.out.println("Value of sin(30) is: "+Math.sin(30));
}
}
0
but it gives answer in radians
0
1°=0.017radians
so
90°=0.017*90radians
=1.57