[HP-PRIME CAS] inequations


see screenshot at the end of the next picture

solve((ABS(ABS(2*x+1)-5))>2,x); [ENTER] => { -4>x,x>-2 AND 1>x,x>3}


Both the HP Prime and the TI nSpire produce correct answers. They just return slightly different representations of the same solution.

x>-2 AND x<1 means the same as -2<x<1

A or B or C is the same as A or (B or C).


AS(x>-2 AND x<1) == (-2<x<1) Why -2<x<1 => 0 // BUG?

Edited: 2 Nov 2013, 11:03 p.m. after one or more responses were posted


The inequality > and < have higher priority than AND. So

x>-2 AND x<1 is actually (x-2) AND (x<1) … not to be confused with x> (-2 and x) < 1 -- which would not make much sense.

Also, the result returns a symbolic object which embeds AND -- which is very different from a result which evaluates binary operation.

Possibly Related Threads...
Thread Author Replies Views Last Post
  HP Prime: CAS taylor Alberto Candel 5 2,695 12-13-2013, 09:45 PM
Last Post: Alberto Candel
  HP Prime CAS curiosity bluesun08 11 3,468 12-10-2013, 01:03 PM
Last Post: Han
  [HP-Prime CAS] "Warning, ^ (Command) Is ambiguous on non square matrices"?? CompSystems 1 1,503 12-07-2013, 07:15 PM
Last Post: CompSystems
  HP Prime: complex numbers in CAS. Alberto Candel 1 1,311 12-06-2013, 02:36 PM
Last Post: parisse
  HP Prime: Proper Use of Home View and CAS View James Williams 9 3,139 12-05-2013, 02:44 PM
Last Post: James Williams
  [HP Prime] plotfunc() bug in CAS Chris Pem10 2 1,578 12-04-2013, 02:46 PM
Last Post: Chris Pem10
  HP Prime: Home/CAS? Alasdair McAndrew 11 2,684 11-26-2013, 02:48 PM
Last Post: Alberto Candel
  HP Prime numerical precision in CAS and HOME Javier Goizueta 5 1,642 11-16-2013, 03:51 AM
Last Post: Paul Dale
  Need CAS help Michael de Estrada 6 1,848 11-13-2013, 01:29 AM
Last Post: cyrille de Brébisson
  HP Prime - CAS functions in Spreadsheet App CR Haeger 6 1,760 11-11-2013, 12:37 AM
Last Post: Michael de Estrada

Forum Jump: