answersLogoWhite

0

One way is to solve the equation x^2 - number = 0 with Newton's method.

Start with a guess for the answer (say your number is 20, guess 5 or something - it hardly matters how bad your guess is). Say your guess is G. Then compute :

0.5 * (G + 20/G)

This will give you a new guess. Rinse and repeat. The number 20 needs to be replaced with whatever number you're trying to find the square root of.

Example with √30 :

Take a guess : 6.

Compute 0.5 * (6 + 30/6) = 5.5.

Compute 0.5 * (5.5 + 30/5.5) = 5.47727272728.

Compute 0.5 * (5.47727272728 + 30/5.47727272728) = 5.47722557525.

The true answer is 5.47722557505. You already had four correct decimals after the second step. The third step yields nine correct decimals. It keeps growing like this really fast. This is way better than the longhand method your grandparents learned in school. ^_^

* * * * *

Excellent answer except for one minor (pedantic) point. The true answer is NOT 5.47722557505. The square root of 20 is an irrational and therefore has an infinitely long, non-recurring decimal representation. 5.47722557505 is a rational - tediously long, but even so.

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

CoachCoach
Success isn't just about winning—it's about vision, patience, and playing the long game.
Chat with Coach
JordanJordan
Looking for a career mentor? I've seen my fair share of shake-ups.
Chat with Jordan
RossRoss
Every question is just a happy little opportunity.
Chat with Ross

Add your answer:

Earn +20 pts
Q: How do you get the square root of not perfect square?
Write your answer...
Submit
Still have questions?
magnify glass
imp