About 154,000 results
Open links in new tab
  1. JavaScript: Calculate the nth root of a number - Stack Overflow

    Sep 5, 2011 · 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 taking …

  2. 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, …

  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. 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 …

  6. 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 …

  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

    This JavaScript tutorial explains how to use the math function called sqrt() with syntax and examples. In JavaScript, sqrt() is a function that is used to return the square root of a number.

  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. How to Find Square Root in JavaScript? With & Without Function

    Jan 16, 2024 · Math.sqrt() is a built-in JavaScript function that is used to calculate the square root of a given number. It is a part of the Math object in JavaScript , which provides a collection of …

Refresh