<html>
<body>
<h1>JavaScript Math</h1>
<h2>The Math.sqr() Method</h2>
<p>Math.sqrt() returns the square root of a number:</p>
<p id="demo"></p>
<script>
let a = Math.sqrt(0);
let b = Math.sqrt(1);
let c = Math.sqrt(9);
let d = Math.sqrt(64);
let e = Math.sqrt(-9);
document.getElementById("demo").innerHTML =
a + "<br>" + b + "<br>" + c + "<br>" + d + "<br>" + e;
</script>
</body>
<!-- Mirrored from www.w3schools.com/jsref/tryit.asp?filename=tryjsref_sqrt3 by HTTrack Website Copier/3.x [XR&CO'2014], Wed, 21 Dec 2022 17:39:11 GMT -->
</html>