<html>
<body>
<p id="demo">Click the button to display the square root of different numbers.</p>
<button onclick="myFunction()">Try it</button>
<script>
function myFunction()
{
var a=Math.tan(90);
var b=Math.tan(-90);
var c=Math.tan(45);
var d=Math.tan(60);
var x=document.getElementById("demo")
x.innerHTML=a + "<br>" + b + "<br>" + c + "<br>" + d;
}
</script>
</body>
</html>