import java.io.*;
import java.math.*;
class three
{
public static void main(String args[])
{
System.out.println("Square Root of 44 is "+Math.sqrt(44));
System.out.println("Sin of 90 is "+Math.sin(90));
System.out.println("Cos of 0 is "+Math.cos(0));
System.out.println("Absolute value of 78 is "+Math.abs(78));
System.out.println("MaXimamum of 60 and 77 is "+Math.max(60,77));
System.out.println("Mininmum of 89 and 22 is "+Math.min(89,22));
System.out.println("Log of 65 is "+Math.log(66));
System.out.println("Floor of 43.89 is "+Math.floor(43.89));
System.out.println("Ceil of 456.77 is "+Math.ceil(456.77));
}
}
Output:
Square Root of 44 is 6.6332495807108
Sin of 90 is 0.8939966636005579
Cos of 0 is 1.0
Tan of 45 is 1.6197751905438615
Absolute value of 78 is 78
MaXimamum of 60 and 77 is 77
Mininmum of 89 and 22 is 22
Log of 65 is 4.189654742026425
Floor of 43.89 is 43.0
Ceil of 456.77 is 457.0
No comments:
Post a Comment