package test func SqrtExercise(x float64) float64 { z := float64(1) for i:=0; i<10; i++ { z -= (z*z-x)/(2*z) } return z }