Can't use the result of solve() to define a function
Subject: Can't use the result of solve() to define a function
From: villate at fe.up.pt
Date: Thu, 06 May 2010 20:57:08 +0100
Quoting Robert Dodier <robert.dodier at gmail.com>:
> Try this: N?(x,y) := ''(rhs(results[1][1]));
> Or try this: define(N?(x,y), rhs(results[1][1]));
It is nice to see that a lot of new users are discovering Maxima and using it.
The confusion with := not evaluating its arguments is a good way to
estimate the
number of new users :)
It's similar to what happens in the Physics courses that I've taught
during 20 years.
Each year some student appears with some frequently asked question and
I answer it as
if I've never heard of it before! There are some concepts that will
puzzle new students
and the fact that they do get puzzled is a good indicator that they
are doing an honest
effort to learn.
Cheers,
Jaime