1   /**
2    * Esimerkki Math-luokan funktioiden kutsuista
3    * @author Vesa Lappalainen
4    * @version 1.0 / 05.01.2003
5    */
6   public class MathTesti {
7   
8     public static void main(String[] args) {
9       double alpha = 1.32, a = 4, b=3;
10      double c = Math.sqrt(a*a+b*b) + Math.asin((Math.sin(alpha)+0.2)/2.0);
11      System.out.println("c=" + c);
12      double kulman_sini, x = 0.7;
13      kulman_sini = Math.sin(x);
14      Math.sin(x);
15    }
16  
17  }
18  
19