About 154,000 results
Open links in new tab
  1. Math.sqrt() - JavaScript | MDN - MDN Web Docs

    Feb 11, 2025 · The Math.sqrt() static method returns the square root of a number. That is. A number greater than or equal to 0. The square root of x, a nonnegative number. If x < 0, …

  2. JavaScript: Calculate the nth root of a number - Stack Overflow

    Sep 18, 2016 · JavaScript Math object doesn't have a built-in method specifically for calculating the nth root of a number. However, you can still calculate it using the Math.pow() method by …

  3. JavaScript Math sqrt() Method - W3Schools

    The Math.sqrt() method returns the square root of a number. Required. A number. The square root of the number. NaN if the number negative. Math. is an ECMAScript1 (JavaScript 1997) …

  4. JavaScript Math sqrt() Method - GeeksforGeeks

    Jul 15, 2024 · The JavaScript Math sqrt( ) Method in JavaScript is used to square the root of the number passed as a parameter to the function. Syntax: Math.sqrt(value) Parameters: This …

  5. JavaScript Math.sqrt() Examples [In-Depth Tutorial] - GoLinuxCloud

    Mar 13, 2023 · Math.sqrt() is a built-in function in JavaScript that returns the square root of a given number. The function takes one argument, which is the number to be square rooted. The …

  6. Calculate the Nth Root of a Number in JavaScript - Online …

    To get the nth root of a number using Math.pow(), you can use the following formula: Math.pow(base, 1/root). You can also use the logarithm method, which involves using the …

  7. JavaScript Program to Find the Square Root

    To find the square root of a number in JavaScript, you can use the built-in Math.sqrt() method. Its syntax is: Math.sqrt(number); Here, the Math.sqrt() method takes a number and returns its …

  8. JavaScript: Math sqrt() function - TechOnTheNet

    In JavaScript, the syntax for the sqrt () function is: The number used to calculate the square root. The number must not be a value that is greater than or equal to 0. The sqrt () function returns …

  9. JavaScript Math sqrt() Method: Square Root Calculation

    Feb 6, 2025 · The Math.sqrt() method in JavaScript is a fundamental mathematical function used to calculate the square root of a given number. This method is part of the built-in Math object, …

  10. Squaring, Rooting, and Powering Numbers in JavaScript with Math

    Dec 12, 2024 · JavaScript offers a range of methods for dealing with numbers, and Math.pow() along with Math.sqrt() are two of the very important ones you're likely to encounter often. …

  11. Some results have been removed
Refresh