This approximates the square root of positive number X.
https://www.youtube.com/watch?v=kc9MinCagLQ This video for inspiration.