Subject: Re: [Maxima] Re: [Maxima] problems with solve()
From: go_furuya at infoseek
Date: Tue, 27 Sep 2005 04:36:43 +0900
Oh I mistake.
solver package could not solve with atan(x)+atan(a*x).
(%i108) solver([atan(x)=5],[x]);
(%o108) [[x = -3.380515117581187]]
but
(%i110) solver([atan(x)+atan(2*x)=9],[x]);
(%o110) [[[ATAN(2*x)+ATAN(x)-9]]]
sorry!
gosei furuya
> hi joel
>
> my answer is that cd ..../share/algebra/solver,then start maxima.
> (%i1) EquationP(e):=if part(e,0)= "=" then true else false$
> (%i2) load("misc.mac")$
> (%i3) load("solver.mac")$
> (%i4) display2d:false$
> (%i5) batch("/home/furuya/expansion.mac");
> ........
>
> (%i14) SOLVER([EXPANSION],[M2])
> (%o14) [[[1.552405053761575E-12*(644161778253*ATAN((M2^2-1)^0.5)
> -1577867665066
> *ATAN(0.40824829046386*(M2^2-1)^0.5)
> +559436248710)]]]
> last line in your expansion.mac
> shoud be converted to solver([expansion],[m2]).
> To run Solver package we need %i1,%i2,%i3 .
> good luck!
>
> gosei furuya
>
> > I've attached a small batch file containing an equation I need to solve
> > (for school, but computers recommended, help OK, etc.).
> >
> > It seems that solve() should be able to handle it, but apparently this
> > isn't the case. If I set numer: false, I get a long answer, but I can't
> > seem to get one in numeric form.
> >
> > I'm new to Maxima, but would like to use it instead of the normal
> > Windows programs (Mathcad) for my assignments.
> >
> > Any suggestions?
> >
> >
> > --
> > Joel Konkle-Parker
> >
>
>
> _______________________________________________
> Maxima mailing list
> Maxima@math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>