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 compsystems Senior Member Posts: 1,339 Joined: Dec 2013
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)] « Next Oldest | Next Newest »

 Messages In This Thread Solving a set of equations/inequations - compsystems - 02-07-2017 03:16 PM RE: Solving a set of equations/inequations - Aries - 02-15-2017, 03:31 PM RE: Solving a set of equations/inequations - Han - 02-15-2017, 03:54 PM RE: Solving a set of equations/inequations - Aries - 02-16-2017, 09:19 AM RE: Solving a set of equations/inequations - Simone Cerica - 02-17-2017, 11:18 AM RE: Solving a set of equations/inequations - parisse - 02-16-2017, 10:23 AM RE: Solving a set of equations/inequations - parisse - 02-17-2017, 04:44 PM RE: Solving a set of equations/inequations - Simone Cerica - 02-17-2017, 04:45 PM

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