Question : raiz quadrada javascript
Answered by : unsightly-unicorn-fch69kfgxu9l
// efectua a raiz quadrada de x
Math.sqrt(x);
Source : | Last Update : Wed, 28 Oct 20
Question : sqrt javascript
Answered by : evil-elephant-m6cvoeifqe87
let number = 16
Math.sqrt(number);
//output = 4
Source : | Last Update : Tue, 24 Mar 20
Question : Math.sqrt()
Answered by : gorgeous-goldfinch-eeuc3sqmhdi9
console.log(Math.sqrt(4)); // 2
console.log(Math.sqrt(9)); // 3
console.log(Math.sqrt(2)); // 1.4142135623730951
console.log(Math.sqrt(0)); // 0
console.log(Math.sqrt(-0)); // -0
console.log(Math.sqrt(-1)); // NaN
Source : | Last Update : Sun, 24 Apr 22
Question : math.sqrt
Answered by : xenophobic-xenomorph-k3r803ix4k16
import java.lang.*;
public class MathDemo { public static void main(String[] args) {
//what is Math.sqrt(4)? double x = 4; System.out.println("Math.sqrt(" + x + ")=" + Math.sqrt(x)); }
}
//the output is 2
Source : https://www.tutorialspoint.com/java/lang/math_sqrt.htm | Last Update : Mon, 14 Mar 22