Post Reply 
IDEA: clear a-z cmd
03-21-2017, 03:01 PM (This post was last modified: 03-22-2017 09:31 PM by compsystems.)
Post: #1
IDEA: clear a-z cmd
Hello sorry for my bad english

One of the problems for students, when a calculator as HP-PRIME or TI-89 stores a-z user variables, is that if one does not delete the variables, the results are evaluated, without showing the general or symbolic solutions.

See publication in the following link http://courses.wccnet.edu/~palay/math179/intslv92.htm

The TI68k have an option to remove the symbolic variables a-z, I think it would be a good option to incorporate it into the HP-PRIME for cas MODE, The RESTART CMD works but deletes all definitions =(, then a single command is required for the alphabetic variables, or expand RESTART CMD, accepting arguments RESTART([arg])

RESTART( "ALL" );
RESTART( "a-z" );

[Image: solv_03.gif]

[Image: solv_01.gif]
[Image: solv_02.gif]
[Image: solv_03.gif]
[Image: solv_04.gif]

CAS VIEW
PHP Code:
CAS VIEW
CASE 1:  Preassigning values for x,y,z lowercase
x
:=5y:=6z:=9;
//1.1: solve lowercase & Maximum simplify
solvex^2*y+z*(-y-1) = 4*(x+z), ); // returns 
{ (-(598)+2)/6,  ((598)+2)/}  // OK, As x,y,z have values, solve cmd solve then evaluate
approx(Ans); 
{  
−3.742 4.409 }  // -> x=4.40 or x=−3.74 // ok

//1.2: SOLVE uppercase
SOLVEx^2*y+z*(-y-1) = 4*(x+z), );  or
SOLVEx^2*y+z*(-y-1) = 4*(x+z), x);// returns 
4.40900642021 
SOLVE
x^2*y+z*(-y-1) = 4*(x+z), x, -);// returns 
−3.742 

CASE 2Deleting variables x,y,z
purge
(x,y,z); 
//2.1: solve lowercase
solvex^2*y+z*(-y-1) = 4*(x+z), );  // returns 
{ ((y^2*z+5*y*z+4)+2)/y,   (-(y^2*z+5*y*z+4)+2)/// Symbolic result for X1/2

{ ((y^2*z+5*y*z+4)+2)/y, (-((y^2*z+5*y*z+4))+2)/y}|({6,9}); returns
{  4.409−3.742  }


solvex^2*y+z*(-y-1) = 4*(x+z), );  // returns 
{(4*x+5*z)/(x^2-z)}// Symbolic result for Y
{(4*x+5*z)/(x^2-z)}|({5,9}); returns {65/16}

//2.2: SOLVE uppercase
SOLVEx^2*y+z*(-y-1) = 4*(x+z), x);  returns "Error: Bad Guess(es)" 
SOLVEx^2*y+z*(-y-1) = 4*(x+z), x, -); returns "Error: Bad Guess(es)"
SOLVEx^2*y+z*(-y-1) = 4*(x+z), y, -); returns "Error: Bad Guess(es)"

CASE 3:  Non-zero values for X uppercase
X
:=5Y:=6Z:=9;
//3.1: solve lowercase  
solveX^2*Y+Z*(-Y-1) = 4*(X+Z), X); // returns 
{ (-(598)+2)/6,  ((598)+2)/}  // OK, As x,y,z have values, solve cmd solve then evaluate
approx(Ans); 
{  
−3.742 4.409 }  // -> x=4.40 or x=−3.74 // ok

//3.2: SOLVE uppercase
SOLVEX^2*Y+Z*(-Y-1) = 4*(X+Z), X);  or
SOLVEX^2*Y+Z*(-Y-1) = 4*(X+Z), X6); // returns 
4.40900642021  
SOLVE
X^2*Y+Z*(-Y-1) = 4*(X+Z), X, -6);// returns 
−3.742  

CASE 4Restting variables x,y,z
X
:=0Y:=0Z:=0
//4.1: solve lowercase
solveX^2*Y+Z*(-Y-1) = 4*(X+Z), X); // returns 
}

//4.2: SOLVE uppercase
SOLVEX^2*Y+Z*(-Y-1) = 4*(X+Z), X6);  returns


HOME VIEW
PHP Code:
HOME VIEW
SOLVE
(Eq, var, guess// SOLVE CMD for HOME
CASE 5:
X:=5Y:=6Z:=9;
SOLVEX^2*Y+Z*(-Y-1) = 4*(X+Z), X); returns 4.40900642021 
solve
X^2*Y+Z*(-Y-1) = 4*(X+Z), X);  returns {X}

CASE 
6Restting variables xyz
X
:=0Y:=0Z:=0
SOLVEX^2*Y+Z*(-Y-1) = 4*(X+Z), X); returns 4.40900642021
solve
X^2*Y+Z*(-Y-1) = 4*(X+Z), X); returns {X
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
IDEA: clear a-z cmd - compsystems - 03-21-2017 03:01 PM
RE: IDEA: clear a-z cmd - Arno K - 03-21-2017, 08:33 PM
RE: IDEA: clear a-z cmd - KeithB - 03-22-2017, 03:03 PM
RE: IDEA: clear a-z cmd - compsystems - 03-22-2017, 06:42 PM
RE: IDEA: clear a-z cmd - parisse - 03-23-2017, 04:52 PM
RE: IDEA: clear a-z cmd - compsystems - 03-24-2017, 08:21 PM



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