Parculiarities of FindRoot
- To: mathgroup at smc.vnet.net
- Subject: [mg116060] Parculiarities of FindRoot
- From: Tianhui Li <tianhuil at princeton.edu>
- Date: Mon, 31 Jan 2011 03:24:17 -0500 (EST)
Here's a question for the group: in the following function, Func seems to evaluate numerical arguments correctly and *works* when you throw it into a FindRoot. But the second command generates a lot of warning messages. Does anyone understand why? Func[y_] := x^2 /. FindRoot[x + y == 0, {x, 0.}] Func[.2] FindRoot[Func[z], {z, 0.}] Warm Regards, Michael Li Bendheim Center for Finance Princeton University Princeton, NJ 08544