Post Reply 
Solving a set of equations/inequations
02-07-2017, 03:16 PM (This post was last modified: 02-07-2017 07:56 PM by compsystems.)
Post: #1
Solving a set of equations/inequations
Hello, I can not solve a system that has an equation and an equation with hp-prime, some command in particular?

1: HP-prime
solve( {(x+y)<10,(x^2) = 9}, {x,y} ); returns []

2: With maple, I get

{ solve({ x+y<10, x^2=9 }, { x, y }) } returns

{ {x = -3, y < 13}, {x = 3, y < 7} } // Output form as a set or list/array

(x = -3 and y < 13) or (x = 3 and y < 7) // Output form as an expression (and, or)

3: wolframα
Reduce[{x + y < 10, x^2 == 9}, {x, y}] returns
(x == -3 && y < 13) || (x == 3 && y < 7)
https://www.wolframalpha.com/input/?i=so...)+%3D+9%7D

with 4: TI68k (TI92+/TIV200) you have to know how to interpret the parameter at (@)

solve(x+y<10 AND x^2=9, {x,y}) returns

(x = -3 and y < @1 and @1 < 13) or (x = 3 and y < @2 and @2 = 7) // Output form as an expression (and, or, @)

for a output form as a set or list/array to use expToList(Ans(1)) cmd

[[when(@2<7,3),when(@2<7,@2)][when(@1<13,-3),when(@1<13,@1)]]

But I think there is a problem in the decoding
[[when(y<7,3),when(y<7,y)][when(y<13,­-3),when(y<13,y)]] ?

[when(y<7,3),when(y<13,­-3)]


[Image: system_of_equations_inequations_image00.png]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Solving a set of equations/inequations - compsystems - 02-07-2017 03:16 PM



User(s) browsing this thread: 1 Guest(s)