<html>
<body>
<h1>JavaScript Math</h1>
<h2>The Math.sin() Method</h2>
<p>Math.sin() returns the sine of an angel given in radians.</p>
<p id="demo"></p>
<script>
let x = Math.sin(3.14);
document.getElementById("demo").innerHTML = x.toFixed(2);
</script>
</body>
</html>