Here you can find the source of sqr(double x)
Parameter | Description |
---|---|
x | number to count square |
public static double sqr(double x)
//package com.java2s; //License from project: Open Source License public class Main { /**//from www. j a v a 2 s.c om * Returns square of specified number. * @param x number to count square * @return square of given number */ public static double sqr(double x) { return (x * x); } }