On 11/9/2009 2:15:59 PM, Tom_Gutman wrote:
>Looks like simp accepts modifiers of min, max, and trig (and possibly others). Meaning what???
MuPad have two simp routines: low case simplify, and upper case Simplify. Second is more efficient. Syntax for the lower case it's basically:
Calls:
simplify(f,target )
Simplify(f,Steps = n )
Parameters:
f: an arithmetical expression
target: one of the identifiers cos, sin, exp, ln, sqrt, unit, (logic, condition, or relation)
unit was introduced at version 3.2 and condition in 4.0. I don't remember which version it's mathcad's kernel.
simplify(f, target) restricts the simplification to term rewriting rules applicable to the target functions.
Example:
f := sin(x)^2 + cos(x)^2 + (exp(x) - 1)/(exp(x/2) + 1):
Try: simplify(f)
Only special simplifications occur if special target functions are specified:
Try: simplify(f, sin)
Try: simplify(f, exp)
Example:
x := 1/2 + sqrt(23/108):
y := x^(1/3) + 1/3/x^(1/3):
z := y^3 - y
Try: simplify(z) and simplify(z,sqrt) (must to return 1 if all things works well).
But the options max, min as 'target' I don't know why these particular names. Also, don't know an option like simplify(f, symbolic) like maple (or the option Analytic in Mathematica).
Regards. Alvaro.