06-16-2018, 02:30 AM
The hp-prime CAS Software Version: 2.0.0.13865 (2018 07 06) now solve accepts a new parameter to visualize the most explicit answers =)
Examples
without '='
0: [solve((x+4) = 2,x), solve((-3+x) = -4,x),solve((3+x) = 4,x), solve((x+3) = 3,x)]
returns the solution
-2
-1
1
0
with '='
1: [solve((x+4) = 2,x,'='), solve((-3+x) = -4,x,'='),solve((3+x) = 4,x,'='), solve((x+3) = 3,x,'=')]
returns the solution set
x = -2
x = -1
x = 1
x = 0
2: solve([(x+y) = 2,(x-y) = 4],[x,y],'=') returns
[x = 3,y = -1]
3: solve([(x+y) = 2,(x-y) = 4],[y,x],'=')
[y = -1, x = 3]
Although the format converter cmd (list2exp) has not yet been incorporated on hp-prime =(
list2exp cmd: list of solutions to boolean expression
XCAS
4: list2exp( solve([(j+l) = 2,(j-l) = 4],[j,l]),[j,l])
returns
j=3 and l=-1
http://www.wolframalpha.com/input/?i=sol...%5Bj,l%5D)
5: list2exp( solve([(j+l) = 2,(j-l) = 4],[l,j]),[l,j])
returns
l=-1 and j=3
http://www.wolframalpha.com/input/?i=sol...%5Bl,j%5D)
6: list2exp(solve([ y = x^2, y = 2*x + 3 ],[y,x]),[y,x])
returns
( (y=9) and (x=3) ) or ( (y=1) and (x=-1) )
http://www.wolframalpha.com/input/?i=sol...%5By,x%5D)
7: solve([ y = x^2, y = 2*x + 3 ],[y,x])
[[9,3],[1,-1]]
still not working for desolve
desolve(((y')'+y) = 0,y) returns G_0*cos(x)+G_1*sin(x)
desolve(((y')'+y) = 0,y,'=') =>
y(x)=G_0*cos(x)+G_1*sin(x)
http://www.wolframalpha.com/input/?i=DSo...x%5D,+x%5D
returns
y[x]->C[1]*Cos[x] + C[2]*Sin[x]
Examples
without '='
0: [solve((x+4) = 2,x), solve((-3+x) = -4,x),solve((3+x) = 4,x), solve((x+3) = 3,x)]
returns the solution
-2
-1
1
0
with '='
1: [solve((x+4) = 2,x,'='), solve((-3+x) = -4,x,'='),solve((3+x) = 4,x,'='), solve((x+3) = 3,x,'=')]
returns the solution set
x = -2
x = -1
x = 1
x = 0
2: solve([(x+y) = 2,(x-y) = 4],[x,y],'=') returns
[x = 3,y = -1]
3: solve([(x+y) = 2,(x-y) = 4],[y,x],'=')
[y = -1, x = 3]
Although the format converter cmd (list2exp) has not yet been incorporated on hp-prime =(
list2exp cmd: list of solutions to boolean expression
XCAS
4: list2exp( solve([(j+l) = 2,(j-l) = 4],[j,l]),[j,l])
returns
j=3 and l=-1
http://www.wolframalpha.com/input/?i=sol...%5Bj,l%5D)
5: list2exp( solve([(j+l) = 2,(j-l) = 4],[l,j]),[l,j])
returns
l=-1 and j=3
http://www.wolframalpha.com/input/?i=sol...%5Bl,j%5D)
6: list2exp(solve([ y = x^2, y = 2*x + 3 ],[y,x]),[y,x])
returns
( (y=9) and (x=3) ) or ( (y=1) and (x=-1) )
http://www.wolframalpha.com/input/?i=sol...%5By,x%5D)
7: solve([ y = x^2, y = 2*x + 3 ],[y,x])
[[9,3],[1,-1]]
still not working for desolve
desolve(((y')'+y) = 0,y) returns G_0*cos(x)+G_1*sin(x)
desolve(((y')'+y) = 0,y,'=') =>
y(x)=G_0*cos(x)+G_1*sin(x)
http://www.wolframalpha.com/input/?i=DSo...x%5D,+x%5D
returns
y[x]->C[1]*Cos[x] + C[2]*Sin[x]