Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
NCTM or The Math Forum.



Re: [mg7338] rules>function
Posted:
May 30, 1997 1:10 AM


On Tue, 27 May 1997, Lord of Darkness wrote:
> Hello All, > > If I solve a set of simultaneous equations and get a simple answer like > zrule = z> x^2 + y^2 > > but I then want to evaluate > fn[x_,y_] := z + some more stuff.....
you should try
fn[x_,y_] := z + some more stuff..... /. zrule
which means that the replacement will be made at evaluation



