Last chance! 50% off unlimited learning
Sale ends in
fzsolve(fz, z0)
fzsolve
tries to find the root of the complex and relatively
smooth (i.e., analytic) function near a starting point. The function is considered as real function R^2 --> R^2
and the
newtonsys
function is applied.
newtonsys
fz <- function(z) sin(z)^2 + sqrt(z) - log(z)
fzsolve(fz, 1+1i)
# 0.2555197+0.8948303i
Run the code above in your browser using DataLab