Iterative application of FindRoot with adjusted started values
- To: mathgroup at smc.vnet.net
- Subject: [mg32990] Iterative application of FindRoot with adjusted started values
- From: steger at uni-greifswald.de (Thomas Steger)
- Date: Sat, 23 Feb 2002 02:38:09 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
I use Table[] together with FindRoot[] to repeatedly solve a system of equations numerically. Now I would like to give the starting value for the first calculation as prespecified while all subsequent starting values should equal the n-1 th solution. Here is a simple example, where the starting value is fixed for all calculations to follow. Clear[g1, g2] g1 = a x + b y == c; g2 = d x + e y == f; Clear[a, b, c, d, e, f] a = 0.5; b = 0.1; c = 2; d = 0.9; e = 1; f = .2; Clear[a] Table[FindRoot[{g1, g2}, {x, 4}, {y, -4}], {a, 0.5, 1, 0.1}]