Re: Why the loop gain no result?

*To*: mathgroup at smc.vnet.net*Subject*: [mg126079] Re: Why the loop gain no result?*From*: Tomas Garza <tgarza10 at msn.com>*Date*: Sun, 15 Apr 2012 03:17:59 -0400 (EDT)*Delivered-to*: l-mathgroup@mail-archive0.wolfram.com*References*: <201204140710.DAA27683@smc.vnet.net>

Wouldn't you rather use a more straightforward approach, such as Table[Solve[a*x^2 - 2 x + 1 == 0, x], {a, 1, 5}] -Tomas > Date: Sat, 14 Apr 2012 03:10:07 -0400 > From: geotom.cao at gmail.com > Subject: Why the loop gain no result? > To: mathgroup at smc.vnet.net > > Dear all, > I use the' For' loop to solving an equation, such as : > For[i = 1, i < 5, i++, a = i; Solve[a*x^2 - 2 x + 1 == = 0, x]].The > 'a' in the body must be updated in every loop with the 'i'. But i > cann' t gain the result,Somewhere is disorder? I am confused. > Thinks in advanced! > > > > > > Geotom.Cao > GUCAS

**References**:**Why the loop gain no result?***From:*Huafeng Cao <geotom.cao@gmail.com>