About 1,040,000 results
Open links in new tab
  1. java - How can I incorporate a square root function into this ...

    Mar 3, 2021 · I am currently making a simple calculator, and I want to incorporate the square root function into it, currently my code looks like this, but it does not work: if ("√x".equals(operator))

  2. Calculator Program in Java Swing/JFrame with Source Code

    This is going to be a simple Java GUI calculator project which will perform basic arithmetic operations like addition, subtraction, multiplication, division, etc. It can also be used for finding …

  3. Basic Calculator Program Using Java - GeeksforGeeks

    May 22, 2023 · Create a simple calculator which can perform basic arithmetic operations like addition, subtraction, multiplication, or division depending upon the user input. Example:

  4. Java square root calculator? - Stack Overflow

    Scanner input = new Scanner(System.in); number = input.nextDouble(); squareRoot = number / 2; do { t = squareRoot; squareRoot = (t + (number / t)) / 2; } while ((t - squareRoot) != 0); …

  5. How do I calculate cube root and square root of a number? - Kode Java

    May 27, 2023 · To calculate the cube root and the square root of a double value we can use the Math.cbrt(double a) and Math.sqrt(double a) static method call. public class …

  6. How to calculate Square root and Cube root of a number in Java

    Program to demonstrate how to calculate Square root and Cube root of a number in Java using Math class

  7. Find square root and cube root in Java - ProgramZools

    sqrt (double s) method of Math class can be used to find the square root of the double or int value. cbrt (double c) method of Math class can be used to find the cube root of the double or int …

  8. Scientific Calculator Using Java with Complete Source Code ...

    The Scientific Calculator is a Java-based desktop application designed to handle a wide range of mathematical operations, including basic arithmetic and advanced functions like trigonometry, …

  9. Java Project - Scientific Calculator - Project Gurukul

    It offers a graphical user interface (GUI) and supports various mathematical functions and operations. The following operations can be carried out with the help of this code: Addition …

  10. Console Based Simple Java Calculator - MYCPLUS

    Sep 9, 2008 · This Java code is a simple console-based calculator that allows users to perform various mathematical operations. The calculator supports addition, subtraction, multiplication, …

Refresh