calculate squre root intial