কম্পিউটার

জাভাস্ক্রিপ্টে Math.cbrt() ফাংশন


ম্যাথ অবজেক্টের cbrt() ফাংশন একটি সংখ্যা গ্রহণ করে এবং এর ঘনমূল প্রদান করে।

সিনট্যাক্স

এর সিনট্যাক্স নিম্নরূপ

Math.cbrt(729)

উদাহরণ

<html>
<head>
   <title>JavaScript Example</title>
</head>
<body>
   <script type="text/javascript">
      var result = Math.cbrt(729));
      document.write("<br>");
      document.write("Cube root of the given number: "+result);
   </script>
</body>
</html>

আউটপুট

Cube root of the given number: 9

  1. জাভাস্ক্রিপ্টে Math.tan() ফাংশন

  2. জাভাস্ক্রিপ্টে Math.sinh() ফাংশন

  3. জাভাস্ক্রিপ্টে Math.sin() ফাংশন

  4. জাভাস্ক্রিপ্টে Math.cosh() ফাংশন