answersLogoWhite

0


Best Answer

An algorithm is process or set of rules for doing something

If we are looking for square rots which are integers then an algorithm might look like this

Put the number whose root is sought into a variable - the dividend.

Put 2 into a variable - the divisor

Begin a loop

divide the dividend by the divisor

put the result into a variable - the quotient

if the quotient = the divisor then the quotient is the square root of the divident

else, add 1 to the divisor

next loop

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you get the square roots using algorithm?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you provide a solution to the diamond-square algorithm using Java and recursion?

Yes. It is possible to provide a solution to the diamond-square algorithm using Java and recursion.


What is the square root of 913936?

The square root of a number is the number that is squared, or multiplied by itself, to get the number. The square root of 913,936 is 956. *Click the included link to learn the traditional method (Meaning without a calculator) of finding square roots: http://www.homeschoolmath.net/teaching/square-root-algorithm.phpand look for the subtitle: Finding square roots using an algorithm


What the square roots of -256?

There are no real square roots of -256. But using complex numbers the square roots of -256 are 16i and -16i.


How can I proof about correctness of Square-and-multiply algorithm?

Using loop invariant.


What is the square root of 64 and how did you work it out?

The square root of 64 is 8 and you can work it out using the square root algorithm.


What are some jobs or careers that involve using square roots?

some jobs that acquire square roots and squared numbers are physicist and architect


What are the 4 quadratic equations?

actoring, using the square roots, completing the square and the quadratic formula.


What can be done using Napier's bones?

Multiplication, division and square roots.


Write an algorithm to find the root of quadratic equation?

Write an algorithm to find the root of quadratic equation


How do you find square roots of 784?

Using a calculator is one way and it is 28


What is the square root of 11449?

The square roots are -1.07 and +1.07The square roots are -1.07 and +1.07The square roots are -1.07 and +1.07The square roots are -1.07 and +1.07


How many square roots do negative numbers have?

Negative numbers do not have "real number" square roots.However, they will have two roots (when using imaginary numbers) as do other numbers, where a root including i(square root of -1) is positive or negative.