+ 1

how to get degree value for sin 90 ?

2nd Jul 2016, 7:03 AM
Kurapati Praveen
Kurapati Praveen - avatar
3 Respostas
+ 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)); } }
2nd Jul 2016, 8:38 AM
Sagar Agrawal
Sagar Agrawal - avatar
0
but it gives answer in radians
2nd Jul 2016, 2:02 PM
Kurapati Praveen
Kurapati Praveen - avatar
0
1°=0.017radians so 90°=0.017*90radians =1.57
2nd Jul 2016, 6:34 PM
Paras Mehrotra
Paras Mehrotra - avatar