How do u get the square root of a number without using any math functions? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponses
+ 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