Post Reply 
TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing
04-14-2015, 07:06 PM (This post was last modified: 04-20-2015 06:55 PM by compsystems.)
Post: #1
TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing
Use of PRINT command on the terminal view for symbolic algebraic printing


Is required a new PRINT command PrintAlg(expr) or same, to print algebraic expressions in CAS mode. Display symbolic algebraic expressions is difficult in a single line and more when they are extensive.

PrintALG(expr) be used in a program that returns n symbolic outputs for viewing history outside (Terminal View)

Show a comparison video of the Terminal window TI68K (1996) which is called (I-O) versus HPPrime





HP Prime Code
Code:

#CAS
    printTextBook_2D():=
    BEGIN
        // versión 0.0.1 April 14 2015 for HP-Prime by compSystems
        print; //© Clear Terminal Window (I/O)
        print( "hpPrime Terminal View, Symbolic Algebraic Printing" );
        print( "" );
        print( "Expr1:" ); f(x):=x^3-2*x^2+1*x-1;
        print( x^3-2*x^2+1*x-1 );
        print( f(x) );
        
        print( "" );
        print( "Expr2:" );
        print( x^3-2*x^2+1*x-1 | x=y );
        print( f(y) );
        
        print( "" );
        print( "Press any key to continue" ); freeze; wait;
        print( "Expr3:" ); g(x):=1/(x+3);
        print( g(x) );
        
        print( "Expr4:" );
        print( "f(g(x))=" );
        print( f(g(x)) );
        
        print( "g(f(x))=" );
        print( g(f(x)) );
         
        print( "Expr4:");
        print( (x^4-x^3-6*x^2+11*x-6)/x^6+(x^3-6*x^2+11*x-6 | x=y) );
        return "Done"
    END;
#end

TI68K code
Code:
printalg()
Prgm
 ©// versión 0.0.1 April 14 2015 for TI68K by compSystems
 ClrIO © Clear Terminal Window (I/O)
 Disp "TI68K Terminal View, Symbolic Algebraic Printing"

 Disp "": Disp "Expr1:": Define f(x)=x^3-2*x^2+1*x-1
 Disp x^3-2*x^2+1*x-1
 Disp f(x) © Print real 2D expression
 Disp ""
 Disp "Press any key to continue": Pause

 Disp "Expr2:"
 Disp x^3-2*x^2+1*x-1 | x=y
 Disp f(y)

 Disp "": Disp "Expr3": Define g(x)=1/(x+3)
 Disp g(x)
 Disp "Press any key to continue": Pause
 Disp "Expr4"
 Disp "f(g(x))="
 Disp expand(f(g(x))): Pause
 Disp "g(f(x))="
 Disp g(f(x)): Pause
 Disp "Expr5 with scroll:"
 Disp (x^4-x^3-6*x^2+11*x-6)/x^6+(x^3-6*x^2+11*x-6 | x=y): Pause
 ©DispHome© Return Home/CAS view
EndPrgm
Find all posts by this user
Quote this message in a reply
04-16-2015, 11:37 PM
Post: #2
RE: TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing
I Agree with that!

I made the same request a couple of days ago here in this forum, TIM said that the terminal window is for the moment a single line thing. I guess all we can do is wait and keep asking HP to implement this feature in future OS's.


Spybot.

Spybot.
Find all posts by this user
Quote this message in a reply
04-17-2015, 08:16 PM (This post was last modified: 04-17-2015 08:20 PM by eried.)
Post: #3
RE: TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing
Since this is just a terminal, this might require another kind of treatment? like with the Grobs / SCROLL / VIEW in the 50g?

My website: erwin.ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
04-19-2015, 12:22 PM (This post was last modified: 04-20-2015 02:27 PM by compsystems.)
Post: #4
RE: TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing
GraphObj or PictOBj But with

0 →GraphObject = no pretty print (1D or linear)
1 →GraphObject = pretty print (2D small font )
2 →GraphObject = pretty print (2D medium font )
3 →GraphObject = pretty print (2D large font )

'x^3-2*x^2+1*x-1' 0 →GROB
'x^3-2*x^2+1*x-1' 1 →GROB
'x^3-2*x^2+1*x-1' 2 →GROB
'x^3-2*x^2+1*x-1' 3 →GROB
Find all posts by this user
Quote this message in a reply
Post Reply 




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