Thursday 25 December 2014

Square Root of a number with Python. - NO IN-BUILT FUNCTION USED!

Yes! I made the program after typing some tricky code-lines.
This program really does the task without using in-built functions.

Instead, It uses the Long-Division method taught at school.
But it is not as accurate as the in-built functions. But it is not as much different. The Function I designed first converts the number into 2-digit numbers and then operates using the long-division algorithm.

Please like Us on Facebook here if you want to support Python Palace.

To show the accuracy of the calculations, I have also given the results produced by the In-Built Function (pow) along with my Function's output.

Credits to +NavdeepSinghQUADD for the idea of this program.

Download here: http://goo.gl/rxLa4V   (UppIT.com)

Thx for visiting. Keep coming...



No comments:

Post a Comment