I am writing a software for a small 8-bit microcontroller in C. Part of the code is to read the ADC value of a current transformer (ZCT), and then calculate the RMS value. T
To find the square root use the below app note from microchip for 8 bit controllers
Fast Integer Square Root
which is much fast and can find square root in just 9 loops