answersLogoWhite

0


Best Answer

Math.sqrt(number) function is used to find the square root of a number.. try it

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Which math function is used to find the square root of a number using java?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

When using a calculator to find the square root of a number what is the right sequence of steps?

It depends on the calculator - some have the sqrt function, with others you need to use the exponent.


How do you find square root of a number without using calculator?

try to find what number times the same numbers equals the number that you have.


What are sequence of steps using a calculator to find the square root of a number?

If your calculator has an exponentiation function, simply raise the number to the power of .5 Remember this trick: the nth root of X = X ^ (1/n)


When using a calculator to find the square root of a number which what is the correct sequence of steps?

D. enter the number; press the square root key


How do you find square of 0.6?

The same way you find the square of any other number. Either use the "square" function on your calculator - it should like something like x2 - or multiply the number with itself (in this case, 0.6 x 0.6).


Help I am using open office for PC and you cant find any function that will search the spreadsheet for a a number you put into a cell Is there a function for that?

It will find a number - if the number is not a formula. For example - if you search for the number 30 it will find it - BUT - if the product in a cell is the result of a formula it will disregard it.


How would you find the square root of 64.36 using a factor tree?

The square root of 64.36 is an irrational number. Consequently you cannot find the root using a factor tree.


To find square root of a nos without using built in function?

/*Java program to find out square root of a given number * without using any Built-In Functions */ public class SquareRootDemo2 { public static void main(String[] args) { //Number for which square root is to be found double number = -12; //This method finds out the square root findSquareRoot(number); } /*This method finds out the square root without using any built-in functions and displays it */ public static void findSquareRoot(double number) { boolean isPositiveNumber = true; double g1; //if the number given is a 0 if(number==0) { System.out.println("Square root of "+number+" = "+0); } //If the number given is a -ve number else if(number<0) { number=-number; isPositiveNumber = false; } //Proceeding to find out square root of the number double squareRoot = number/2; do { g1=squareRoot; squareRoot = (g1 + (number/g1))/2; } while((g1-squareRoot)!=0); //Displays square root in the case of a positive number if(isPositiveNumber) { System.out.println("Square roots of "+number+" are "); System.out.println("+"+squareRoot); System.out.println("-"+squareRoot); } //Displays square root in the case of a -ve number else { System.out.println("Square roots of -"+number+" are "); System.out.println("+"+squareRoot+" i"); System.out.println("-"+squareRoot+" i"); } } }


Find out the square root for that given number using string?

Halv that given number,Make a square that has that half number as the length of a side.Stretch the string across the diagonal of the square from corner to corner.The length of the string is the square root of the given number


Why cant you evaluate the square root of negative twenty five using real numbers?

using basic math principles, you can't find the square root of a negative number because in order for a number to be a square root, you have to multiply it by itself to get your radical. since a negative times a negative and a positive times a positive are both positive, it is impossible to find the square root of a negative number


How do you find the value of a number in a function?

The number of function is Geometry


The sum of a number and its square is 6 Find the number?

There are two solution: -3 and +2.