[Maxima] Simple system of equations

Ken Johnson othojunk at yahoo.com
Tue Sep 2 12:29:11 CDT 2008

> 1.  You have a variable x and a function x.  Are they related?

Yes, they are supposed to represent the same thing.

> 2. I think that you should use assignment, not function definition.

I guess I was trying to make this too difficult. Thanks for tip, should have been a no-brainer.

t: acos(n1*2/(%pi*F));
b : x / cos(t);
y : sqrt(b^2-x^2);
x^-2 + y^-2 = 4;

Works great, and is much simpler than the function version.

> 3. Solve does not consider any information given with assume.

Interesting, I had assumed it would (no pun intended). It makes me wonder if I could make a script that would check the results of solve, and return only the valid answers. But this could easily grow to be more complex than I would like to handle. 

I appreciate the help.


More information about the Maxima mailing list