MathGroup Archive 2010

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

Search the Archive

How to Enable Automatic Recalculation


I'm new to Mathematica, so perhaps there is a simple answer
to this question.

How to I set Mathematica so that when I change the value
assigned to a variable it will automatically change all
later calculations that use that variable.

For example, if I set

a = 5

and

b = 3 + a

I would like the value of b updated each time I change the
value of a.

Right how, I need to recalculate each and every expression
that uses the variable a if I change its value.  There must
be a better way.


--
Vic Roberts
Replace xxx with vdr in e-mail address.


  • Prev by Date: Equals, Less, Greater, etc; Confused by this simple output.
  • Next by Date: Re: Select list elements and exchange them
  • Previous by thread: Re: Equals, Less, Greater, etc; Confused by this simple output.
  • Next by thread: Re: How to Enable Automatic Recalculation