function evaluation problem



On Tue, Jun 17, 2008 at 2:25 PM,  <amli at comcast.net> wrote:
> How can I make the function to  evaluate at x=1.5 in %o5 instead of  giving me the definition of the function.

? The value of %o5 is x, which looks correct to me.  Maxima doesn't do
"infinite evaluation":

foo: x$
x: 3$
foo => x       -- NOT 3
x => 3
ev(foo) => 3

To reevaluate, use ev(...) -- but instead, you might want to
reevaluate your strategy here....  You will start having to worry
about things like ev(foo,eval), ev(foo,infeval) etc. etc. which will
probably make things more, not less, messy....

            -s