from math import sqrt

def briggs(a):
    u=a ; n=0
    while abs(u-1)>=0.001:
        n=n+1
        u= ...
    b= ...
    return(b)
