[Request] Control of algebraic expressions CAS
06-10-2016, 03:27 PM (This post was last modified: 06-10-2016 07:30 PM by compsystems.)
Post: #20
 compsystems Senior Member Posts: 1,379 Joined: Dec 2013
RE: [Request] Control of algebraic expressions CAS
I can not find documentation of the EVAL command, which means the second argument of EVAL
part( eval(a,1), 0);

The following code, why not call QUOTE to xpr ID or argument of p1(xpr)?
Code:
 #cas p1(xpr):=     BEGIN         local getOperator, part1, part2, expr1;         getOperator:=0;         part1:=1;         part2:=2;         print( "original input: " + xpr ); wait; // retunrs x^3/x^2, PRINT recall xpr ID, OK         print( ": " + 3*xpr*6 ); wait; // returns 3*x^3/x^2*6, PRINT also recall xpr ID, OK         print( ": " + collect(3*xpr*6) ); wait; // returns 18*x, OK         print( "with '': " + quote(xpr) ); wait; // returns xpr ??, why not call QUOTE to xpr ID?         print( "with ' ' and eval external: " + eval(quote(xpr)) ); wait; // returns x^3/x^2 OK         print( "with ' ' and eval internal:'': " + quote(eval(xpr)) ); wait; // returns eval(xpr) ??     END; #end
 « Next Oldest | Next Newest »

 Messages In This Thread [Request] Control of algebraic expressions CAS - compsystems - 06-08-2016, 11:48 AM RE: [Request] Control of algebraic expressions CAS - parisse - 06-08-2016, 12:58 PM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-08-2016, 01:50 PM RE: [Request] Control of algebraic expressions CAS - parisse - 06-08-2016, 07:18 PM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-08-2016, 08:55 PM RE: [Request] Control of algebraic expressions CAS - Tim Wessman - 06-08-2016, 09:10 PM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-08-2016, 09:13 PM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-08-2016, 09:31 PM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-08-2016, 10:12 PM RE: [Request] Control of algebraic expressions CAS - parisse - 06-09-2016, 05:44 AM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-09-2016, 10:45 AM RE: [Request] Control of algebraic expressions CAS - parisse - 06-09-2016, 10:58 AM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-09-2016, 11:04 AM RE: [Request] Control of algebraic expressions CAS - parisse - 06-09-2016, 11:59 AM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-09-2016, 12:20 PM RE: [Request] Control of algebraic expressions CAS - parisse - 06-09-2016, 02:23 PM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-09-2016, 06:32 PM RE: [Request] Control of algebraic expressions CAS - parisse - 06-10-2016, 04:46 AM RE: [Request] Control of algebraic expressions CAS - parisse - 06-10-2016, 06:33 AM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-10-2016 03:27 PM RE: [Request] Control of algebraic expressions CAS - parisse - 06-10-2016, 06:47 PM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-10-2016, 07:34 PM RE: [Request] Control of algebraic expressions CAS - parisse - 06-11-2016, 07:27 AM RE: [Request] Control of algebraic expressions CAS - compsystems - 06-23-2016, 02:03 AM RE: [Request] Control of algebraic expressions CAS - parisse - 06-23-2016, 04:26 AM

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