Post Reply 
Step-by-step programs in CAS
01-10-2017, 06:57 PM (This post was last modified: 01-10-2017 08:34 PM by compsystems.)
Post: #3
RE: Step-by-step programs in CAS
Thanks Han, (Updated above code), The problem was that when porting a code from ti68k, which uses the character #173 (-) as a change of sign, That is not the change of sign in the hp-prime

PHP Code:
// ti68k
inequali()
Prgm
 Local expr0
 ClrIO
 Disp 
"step1: "
 
3*x^2-2*x-2*x^2-3*x+4 → expr0
 Disp expr0

 Disp 
"step2: +(-­2*x^2)"
 
expr0 ­2*x^2 → expr0
 Disp expr0

 Disp 
"step3: +3*x"
 
expr0 3*x → expr0
 Disp expr0

 Disp 
"step4: +(-­4)"Pause
 expr0 
+ -­4 → expr0
 Disp expr0
EndPrgm 
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Step-by-step programs in CAS - compsystems - 01-10-2017, 05:43 PM
RE: Step-by-step programs in CAS - Han - 01-10-2017, 05:56 PM
RE: Step-by-step programs in CAS - compsystems - 01-10-2017 06:57 PM



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