Why not use subst?
On Thu, Sep 11, 2008 at 1:53 PM, Wolfgang Lindner <LindnerW at t-online.de>wrote:
> dear list,
>
> is there a recommended way to do the composition of functions?
> Currently I do the following, but it becomes 'ugly' doing the composition
> of more than 2 functions:
>
> (%i93) comp(g,f,x):=limit(g,x,f); /* (g o f)(x) := g(f(x)) */
> (%i94) comp(sqrt(1-x^2),sqrt(x) ,x);
> (%o94) sqrt(1-x)
> (%i95) comp(asin(x),sin(x) ,x);
> (%o95) x
>
> Is it ok to use Maxima's limit function for that?
> What is your advice, please?
>
> Sincerely
> Wolfgang
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>