﻿from math import *

def Heron(a,u,e):
    k=1
    while(u-sqrt(a)>e):
        k=k+1
        u=0.5*(u+a/u)
    return k,u






