function g(z) z-cosh(z)/sinh(z) end x=1im for n=1:5 global x x=g(x) println("x_",n," = ",x) end