ci(a,z)=-f(a,z)sinz+g(a,z)cosz.