[Maxima] [newbie] Question about quoting
Barton Willis
willisb at unk.edu
Fri Jan 19 06:34:47 CST 2007
-----maxima-bounces at math.utexas.edu wrote: -----
>I have a quistion about quoting.
>
>(%i1) G(x) := x^3 + x^2;
> 3 2
>(%o1) G(x) := x + x
>(%i2) F: G$
>
>
>*** The question is: how to construct 'G(x) using
>F?
Maybe the function 'nounify' will help:
(%i1) G(x) := x^3 + x^2$
(%i2) F : G$
(%i3) nounify(F)(x);
(%o3) G(x)
(%i4) ?print(%);
((|%g| SIMP) $X)
(%o4) G(x)
(%i5) 'G(x);
(%o5) G(x)
(%i6) ?print(%);
((|%g| SIMP) $X)
(%o6) G(x)
Barton
More information about the Maxima
mailing list