JavaScript Codes: Math - Trigonometric Functions

Input :


JavaScript & HTML code for SINE function

<html> <b> Input :</b> <input id="numb1" type="number" /> <button onclick="sin_funct()">Sine</button> <p id="btn"></p> <script> function sin_funct() { var a = document.getElementById("numb1").value; b = Math.sin(a * Math.PI / 180); document.getElementById("btn").innerHTML = b; } </script> </html>

JavaScript - Trigonometric Functions Calculator

Input:

       (Values in degree)


sin :


cos :


tan :


csc :


sec :


cot :


asin :


acos :


atan :


sinh :


cosh :


tanh :


csch :


sech :


coth :


asinh:


acosh:


atanh: