The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 795 - File: showthread.php PHP 7.4.33 (FreeBSD)
File Line Function
/showthread.php 795 errorHandler->error





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
Post Reply 


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



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