|
From: Mark <zei...@ya...> - 2014-02-15 19:17:01
|
On 02/15/2014 06:44 PM, Barton Willis wrote: >> Given the two simultaneous equations: >> sin(y) = 0 sin(x-y) = sin(y) >> will Maxima solve them using a single input command, calling just a single one of its built in functions? > I agree with Richard---almost certainly the answer is no. There are three Maxima solvers: solve, > to_poly_solve, and Solver. Maybe you will like Solver the best: > > (%i7) load(Solver)$ > > (%i8) Solver([sin(y) = 0, sin(x-y) = sin(y)],[x,y]); > solve: using arc-trig functions to get a solution. > Some solutions will be lost. > solve: using arc-trig functions to get a solution. > Some solutions will be lost. > (%o8) [[x=0,y=0]] > > In the best of all possible worlds, a solve function would find the solution set of these equations > with no human intervention. But again, the reason why to_poly_solve fails on this system isn't all that > interesting: the limitation is purely the time and effort required to make to_poly_solve (or solve or Solver) > better. > > --Barton > > Thanks. That's far more helpful. Yet, I do not seem to have a package 'Solver'. If I do load(Solver)$ I get file_search1: Solver not found in file_search_maxima,file_search_lisp. -- an error. To debug this try: debugmode(true); Can you tell me where to get this package? The implementation I have returns this version information: Maxima version: "5.32.1" Maxima build date: "2014-01-21 16:47:24" Host type: "x86_64-unknown-linux-gnu" Lisp implementation type: "CLISP" Lisp implementation version: "2.49 (2010-07-07) (built 3507401929) (memory 3599308048)" -M |