Can't use the result of solve() to define a function
Subject: Can't use the result of solve() to define a function
From: Takahashi Hideo2
Date: Fri, 7 May 2010 20:11:37 +0900
Hi,
Thanks for the help!
The first form suggested, adding two single qutoes, didn't help :-(
The second form using define( ) did the job. Great!
I am an enterprise software guy called into a grad-school course in Tokyo
teaching high performance computing. My role is to introduce software
industry
practices to students to improve their productivity in their lab projects.
I noticed that lots of error-prone calculus is (still) done by hand.
The formula transofrmations are not too complex, but there are lots to do.
It definitely seems not a task for humans, so I'm trying to see if I can
help them
get more productive using tools like maxima for manipulating polynomials and
matrices.
Arigato-gozaimsu,
Hideo
2010/5/7 <villate at fe.up.pt>
>
> 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
>
>
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>
--
--
Hideo at Yokohama - hideo dot at dot yokohama
atsign gmail dot com