[APP]SOLVE
|
09-19-2016, 12:15 PM
Post: #1
|
|||
|
|||
[APP]SOLVE
hello, testing solvers, something strange happens with fsolve
WITH CSOLVE COMMAND: csolve((X^2-2*X) = -3,X) [ENTER])returns {1+√2*i,1-√2*i} approx(csolve({X+Y=2,X*Y=3},{X,Y})) [ENTER])returns {[1.+1.41421356237*i,1.-1.41421356237*i],[1.-1.41421356237*i,1.+1.41421356237*i]} WITH FSOLVE COMMAND: fsolve({x+y = 2, x*y = 3},{x,y},{0,1-i}) [ENTER])returns {1.+1.41421356237*i,1.-1.41421356237*i} NOW WITH DIALOG BOX of FSOLVE ([APP]SOLVE [ENTER]) ✓ E1: X+Y=2 ✓ E2: X*Y=3 [NUM][v (down)] 1+i[ENTER]) show Error Input Invalid. Why? |
|||
09-19-2016, 12:37 PM
Post: #2
|
|||
|
|||
RE: [APP]SOLVE | |||
09-19-2016, 01:09 PM
Post: #3
|
|||
|
|||
RE: [APP]SOLVE
but why it works only with real numbers?
I think then do not call the function fsolve of CAS, if not a pseudo numerical solver Operate only with real numbers is a useless application, the true algebra covers the field of to complex numbers y the hpprime is a modern calculator |
|||
09-20-2016, 01:31 AM
Post: #4
|
|||
|
|||
RE: [APP]SOLVE
Try Linear Solver+ App from the Software Library.
Similar to Linear Solver App, but works with Complex Numbers. 2x2 or 3x3. 7+8*i + 4+5*i = 22+4*i 4+5*i + 3+2*i = 18+6*i X = 1.7-3.9*i Polar = [4.2544,-66.44] Y = 0.1+4.3*i Polar = [4.30116,88.6677] |
|||
09-20-2016, 12:08 PM
Post: #5
|
|||
|
|||
RE: [APP]SOLVE
ok, please convert it to an app (.hpapp, .hpappprgm) your LSX.hpprgm
LSX.hpprgm link http://www.hpmuseum.org/forum/thread-6589.html LSX.hpprgm Code: quit(); |
|||
09-20-2016, 08:48 PM
Post: #6
|
|||
|
|||
RE: [APP]SOLVE
for hp-prime team:
It not intended to be symbolic coefficients on app solve or linear solve, but at least they can be general case encompassing complex numbers, The hardware hp-prime can with more than app numerical and real problems. I hope to be included in the next firmware |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)