#[sqrt(70)]

6 messages · Page 1 of 1 (latest)

rare pike
#

whats the best way of getting [sqrt(70)]?

i just ballpark guessed sqrt(2) = 1.4, sqrt(5) = 2.2 and sqrt(7) = 2.6 and manually found 1.4 * 2.2 * 2.6 = 8.008, but that doesnt seem like a very elegant solution. i suspect im being real stupid

rugged quarry
#

If you want a general method to approximate square roots:
√x ≈ [√x] + (x - [√x]²)/2[√x]
Works best when x is slightly larger than a perfect square, gets more accurate for large x

rare pike
#

ah, makes sense

#

got it

#

cheers