CAS command question
|
01-05-2017, 10:46 PM
(This post was last modified: 01-05-2017 11:16 PM by compsystems.)
Post: #36
|
|||
|
|||
RE: CAS command question
left( '(x+y) ≤ 4' ); ⇢ x+y // If the algebraic expression is between ' ', it will not be rewritten.
left( x+y ≤ 4 ); ⇢ left( 4 ≥ x+y ); ⇢ "4" left( STRING( (x+y) ≤ 4), 1 ); ⇢ left( "4≥x+y", 1 ); ⇢ "4" LEFT( STRING( (x+y) ≤ 4), 1 ); ⇢ LEFT( "4≥x+y", 1 ); ⇢ "4" // With LEFT the firts argument must always be a string left( "(x+y) ≤ 4",1 ); ⇢ "(" RIGHT( STRING( (x+y) ≤ 4), 3 ); ⇢ "x+y" right( STRING(x+y ≤ 4), 3 ); ⇢ "x+y" ================ Quote:....I believe what he wants is equivalent to Maple's "uneval": Similar, do not evaluate the input parameters of the functions I do not program in MAPLE, the following is affirmative? PHP Code: f := proc(x::uneval) numerator(x) end proc: |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)