How do u get the square root of a number without using any math functions? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How do u get the square root of a number without using any math functions?

Only +, -, *, /,,,,, Not even **, //, %

1st Apr 2020, 11:19 PM
Nithin Badi
Nithin Badi - avatar
2 Answers
+ 3
Learn the babylonian algorithm.
2nd Apr 2020, 1:06 AM
Kevin ★
+ 1
4**(1/2) = √4 = 2
1st Apr 2020, 11:30 PM
Muhammad Galhoum
Muhammad Galhoum - avatar