Got it! Thanks! I find a useful function, uniroot.all, in package "rootSolve". I hope it will also be helpful to everybody. -- View this message in context: http://r.789695.n4.nabble.com/How-to-solve-this-complex-equation-tp4702997p4703015.html Sent from the R help mailing list archive at Nabble.com.