java math.sqrt (двойной)

package com.tutorialspoint;

import java.lang.*;

public class MathDemo {

   public static void main(String[] args) {

      // get two double numbers numbers
      double x = 9;
      double y = 25;

      // print the square root of these doubles
      System.out.println("Math.sqrt(" + x + ")=" + Math.sqrt(x));
      System.out.println("Math.sqrt(" + y + ")=" + Math.sqrt(y));
   }
}
// THIS WILL PRINT OUT:
//-->Math.sqrt(9)=3.0
//-->Math.sqrt(25)=5.0
Pip