ম্যাথ অবজেক্টের sin() ফাংশন একটি কোণ গ্রহণ করে (রেডিয়ানে) এবং এর সাইন মান প্রদান করে।
সিনট্যাক্স
এর সিনট্যাক্স নিম্নরূপ
Math.sin(90)
উদাহরণ
<html>
<head>
<title>JavaScript Example</title>
</head>
<body>
<script type="text/javascript">
var result = Math.sin(90);
document.write("sine value of the given angle: "+result);
</script>
</body>
</html> আউটপুট
sine value of the given angle: 0.8939966636005579