[Request] Control of algebraic expressions CAS
|
06-08-2016, 11:48 AM
(This post was last modified: 06-08-2016 08:56 PM by compsystems.)
Post: #1
|
|||
|
|||
[Request] Control of algebraic expressions CAS
1: In the first version of the CAS of hpprime, I suggested control the exit (simplify none, minimum, maximum), my request was accepted, to port some good programs that I have, I need also the output controlled from a program
simplifyFlag (arg); arg = 0 -> none arg = 1 -> minimum arg = 2 -> maximum 2: also I need entries are not rewritten or simplified for example, the followings line of code, the logic says must be true and not false getOperator:=0; _________________________ part(x^(1/2),getOperator)=="^"; -> true ok ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _________________________ part(√(x),getOperator)=="√"; -> false ? ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _________________________ part(1/x),getOperator)=="/"; -> false ? ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _________________________ part(inv(x),getOperator)=="inv"; -> true ok ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _________________________ part(cot(x)),getOperator)=="cot"; -> false ? ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _________________________ part(sec(x)),getOperator)=="sec"; -> false ? sec(x)=1/cos(x) ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _________________________ part(asec(x)),getOperator)=="asec"; -> false ? ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _________________________ part(acos((1/x)),getOperator)=="acos"; -> true ok ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ _________________________ part((x^3/x^2),0))=="/"; -> false ? ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯ |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)