复合函数实现:compose
COMPOSE(f,g)
returns f(g(y)) where f = f(x) and g = g(y).
Here x is the symbolic variable of f as defined by SYMVAR and
y is the symbolic variable of g as defined by SYMVAR.
COMPOSE(f,g,z)
returns f(g(z)) where f = f(x), g = g(y), and
x and y are the symbolic variables of f and g as defined by
SYMVAR.
COMPOSE(f,g,x,z)
returns f(g(z)) and makes x the independent
variable for f. That is, if f = cos(x/t), then COMPOSE(f,g,x,z)
returns cos(g(z)/t) whereas COMPOSE(f,g,t,z) returns cos(x/g(z)).
COMPOSE(f,g,x,y,z)
returns f(g(z)) and makes x the independent
variable for f and y the independent variable for g. For
f = cos(x/t) and g = sin(y/u), COMPOSE(f,g,x,y,z) returns
cos(sin(z/u)/t) whereas COMPOSE(f,g,x,u,z) returns cos(sin(y/z)/t).