Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Symbolic Computation' topicStudent Support Forum > General > "Symbolic Computation"

< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic
Author Comment/Response
Bill Simpson
06/27/12 12:11pm

One possible method.
var:=expression
will re-evaluate expression each time var is evaluated.

In[1]:= x:=Sin[t]; y:=11; r:=4t^2+x+Log[y];

In[4]:= t=0;r
Out[4]= Log[11]

In[5]:= t=5;r
Out[5]= 100+Log[11]+Sin[5]

In[6]:= t=10;r
Out[6]= 400+Log[11]+Sin[10]

URL: ,

Subject (listing for 'Symbolic Computation')
Author Date Posted
Symbolic Computation Aditya Nanda 06/27/12 05:08am
Re: Symbolic Computation Bill Simpson 06/27/12 12:11pm
Re: Re: Symbolic Computation Aditya Nanda 06/29/12 00:12am
Re: Re: Re: Symbolic Computation Michael 07/05/12 10:55am
Re: Re: Re: Re: Symbolic Computation Aditya Nanda 07/08/12 08:43am
< Previous Comment | Next Comment >Help | Reply To Comment | Reply To Topic