fork download
  1. class Test{
  2. public static void main(String[] args){
  3. double RD = 30.0 * Math.PI / 180.0;
  4. System.out.println(Math.sin(RD)) ;
  5.  
  6. }
  7. }
Success #stdin #stdout 0.02s 245632KB
stdin
Standard input is empty
stdout
0.49999999999999994