Implementing my own sqrt function in compare to math.Sqrt
go run mtSqrt.go
Iteration and z value 1 1.5
Iteration and e value 1 0.25
1.5
Iteration and z value 2 1.4166666666666667
Iteration and e value 2 0.006944444444444642
1.4166666666666667
Iteration and z value 3 1.4142156862745099
Iteration and e value 3 6.007304882871267e-06
1.4142156862745099
Iteration and z value 4 1.4142135623746899
Iteration and e value 4 4.510614104447086e-12
1.4142135623746899
Iteration and z value 5 1.4142135623730951
Iteration and e value 5 4.440892098500626e-16
Custom Sqrt 1.4142135623730951
Original Sqrt 1.4142135623730951