About 24,500,000 results
Open links in new tab
  1. Java Math sqrt() Method - GeeksforGeeks

    May 13, 2025 · This method is used to calculate the square root of a number. This method returns the square root of a given value of type double. In this article, we are going to discuss how this …

  2. Java How To Find the Square Root of a Number - W3Schools

    Square Root of a Number. You can use Math.sqrt() to find the square root of a number:

  3. How to calculate the square root in Java | Code Underscored

    Aug 20, 2022 · In this article, we’ll show you how to use the Java programming language to find the square root of any number. The precise syntax and coding for calculating square roots are …

  4. Java Sqrt(): Program to Find Square and Square Root in Java - Edureka

    Jul 5, 2024 · There are multiple ways to find square root a given number in Java. Let’s explore a few of those. Syntax. public static double sqrt (double x) Parameter: x is the value whose …

  5. How to Find the Square Root of a Number in Java - JavaBeat

    Mar 19, 2024 · Finding the square root of a number in Java is a common task that can be achieved by invoking built-in methods like “Math.pow()” and “Math.sqrt()”. Also, you can use …

  6. Program to Find Square and Square Root in Java - Scaler Topics

    Apr 25, 2024 · We can square a number in Java in two different ways, multiplying the number by itself and calling the Math.pow function. We can find sqaure root in Java by using Math.sqrt …

  7. Math.sqrt Method - Square Root in Java - CodeGym

    The most common way to find a square root of a number in Java is by applying the java.lang.Math.sqrt() method. Here’s the general syntax of the java.lang.Math.sqrt() method: …

  8. Java Program to Find Square Root of a Number - Studytonight

    Mar 31, 2021 · In this program, we will learn how to find the square root of a number in java without using a pre-defined method. Here, we will use the below logic to find the square root of …

  9. How to Find Square Root of a Number in Java [Solved]

    If you are familiar with Java API then writing a Java program that can find the square root of a number using java.lang.Math class is not difficult. You just need to pass a double value and it …

  10. Java How To: Calculate Square Root - CodeLucky

    Aug 31, 2024 · In this comprehensive guide, we'll explore different approaches to calculate square roots in Java, from built-in methods to custom implementations. The simplest and most …

  11. Some results have been removed
Refresh