wmi2

WebMathematics Interactive 2 bug tracking system.
Tasklist

FS#120 - numeric::solve in maxima?

Attached to Project: wmi2
Opened by Kovacs Zoltan (kovzol) - Saturday, 06 October 2007, 21:01 GMT+2
Last edited by Kovacs Zoltan (kovzol) - Wednesday, 21 November 2007, 23:40 GMT+2
Task Type Feature Request
Category Backend / Core
Status Closed
Assigned To Fekete Arpad (arpad)
Operating System All
Severity High
Priority High
Reported Version Development
Due in Version 2.1
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

There would be a great demand to support numerical solving of an equation. I didn't find anything senseful on http://www.ma.utexas.edu/maxima/? Could someone help?
This task depends upon

Closed by  Kovacs Zoltan (kovzol)
Wednesday, 21 November 2007, 23:40 GMT+2
Reason for closing:  Implemented
Comment by Fekete Arpad (arpad) - Friday, 12 October 2007, 10:45 GMT+2
  • Field changed: Percent Complete (0% → 20%)
We talked about this with Zoltán,
in maxima, perhaps the find_root function would be good,
but it works only with a package with the new maxima.
Or we should use the CAS Octave, said Zoltán.
Comment by Kovacs Zoltan (kovzol) - Tuesday, 23 October 2007, 01:56 GMT+2
Are there any improvements on this since 12 October?
Comment by Fekete Arpad (arpad) - Wednesday, 24 October 2007, 08:17 GMT+2
There is a x~=? button on the normal layout, but I tried it now and it don't work. (find_root)
Comment by Fekete Arpad (arpad) - Wednesday, 24 October 2007, 09:10 GMT+2
I have written an error. It works, but one should give such an interval in which only one solution exists.
Is this button enough, or should I try to make improvements?
Comment by Kovacs Zoltan (kovzol) - Wednesday, 24 October 2007, 10:03 GMT+2
I think there should be an option for giving the interval.

A second suggestion:

Can we easily implement such thing that if a maxima button is pressed but the number of parameters are not correct, then an alert comes up with the correct syntax?
Comment by Fekete Arpad (arpad) - Wednesday, 24 October 2007, 10:13 GMT+2
Option? Did you mean HTML form option?
Now the syntax in WMI2 is:
equation, a, b , <maxima button>

About the suggestion:
I think it can be implemented.
We should only count the #-s in the maxima change-string,
and count the separate parameters, which can be done with a JavaScript function similar to formconvc in PHP.
Comment by Fekete Arpad (arpad) - Wednesday, 24 October 2007, 10:40 GMT+2
We spoke about an alert: let hint (if wrong button is pressed) come up in an alert.
This needs one additional field to the calcbutton table (and the old fields out)
And the parameter-counting method is good.
Comment by Fekete Arpad (arpad) - Friday, 26 October 2007, 11:38 GMT+2
I tried to redefine the calcbutton table, but I didn't know how to do it, Wekker always showed error. I also tried it with the create_loader script (for the calcbutton table and 2 tables depending on it), but it didn't work. I have no idea how to make it work, but I can make some additional tries later, but now I am going to do other tasks first, if someone doesn't help in this.

Comment by Fekete Arpad (arpad) - Friday, 26 October 2007, 11:44 GMT+2
I think the latter things belong to an another task.
Comment by Kovacs Zoltan (kovzol) - Saturday, 17 November 2007, 23:23 GMT+2
I think the current behaviour is OK, however we should drop a detailed hint on usage.
Comment by Kovacs Zoltan (kovzol) - Saturday, 17 November 2007, 23:25 GMT+2
Another issue: if no root is found in the given interval, an error message should be answered (instead of the verbatim returned statement).

Loading...