How to... equations and functions
- Subject: How to... equations and functions
- From: Barton Willis
- Date: Sat, 25 Jun 2005 16:13:54 -0500
(%i1) e:x+3=2*x-2$
(%i2) f(x) := ''(rhs(e))$ <-- two single quotes does the needed evaluation
(%i3) f(a);
(%o3) 2*a-2
(%i4) f(a+b);
(%o4) 2*(b+a)-2
(%i5) f(42);
(%o5) 82
Barton