HP Forums
TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing (/thread-3642.html)



TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing - compsystems - 04-14-2015 07:06 PM

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



RE: TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing - Spybot - 04-16-2015 11:37 PM

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.


RE: TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing - eried - 04-17-2015 08:16 PM

Since this is just a terminal, this might require another kind of treatment? like with the Grobs / SCROLL / VIEW in the 50g?


RE: TI68K tiv200 Versus HPPrime Calcs - Terminal View - Symbolic Algebraic Printing - compsystems - 04-19-2015 12:22 PM

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