MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

List argument

  • To: mathgroup at smc.vnet.net
  • Subject: [mg36376] List argument
  • From: pascal at go.ro (CeZaR)
  • Date: Wed, 4 Sep 2002 02:56:31 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

I want to do these operations:

eq = m x^2 + 2(m + 1)x + m + 2
l = {}
For[i = -30, i < 30, i++, AppendTo[l, eq /. m -> i]]
Plot[l, {x, -50, 50}]

but i get this error:
l is not a machine-size real number at x = -49.99999583333334

Can someone exaplain to me what i am doing wrong here??

Thanks!

CeZaR


  • Prev by Date: How to define new function using the previous output?
  • Next by Date: Wheel mouse Mathematica 4.2 linux
  • Previous by thread: RE: How to define new function using the previous output?
  • Next by thread: RE: List argument