answersLogoWhite

0

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

Still curious? Ask our experts.

Chat with our AI personalities

ReneRene
Change my mind. I dare you.
Chat with Rene
MaxineMaxine
I respect you enough to keep it real.
Chat with Maxine
CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach

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