From: Stavros M. <mac...@al...> - 2022-08-05 16:27:21
|
*substpart('t,y,2)* That is, substitute *t* for *part(y,2)*. By the way, I find the syntax "substitute *part(y,2) **with* *t*" peculiar, but according to the OED, it is pretty common -- though it has been criticized by some commentators. I would say "replace" in that phrase. I wonder what the usage is in mathematical writing in various varieties of English. -s On Fri, Aug 5, 2022 at 8:41 AM Henk Martijn <h.h...@gm...> wrote: > Hi! > > Is it possible in maxima to substitute a part of an expression with > another variable? > for instance: > y: (x^2+1)/(x+5)^5; > rewrite it as > (x^2+1)/t; > were > t: (x+5)^5; > > thanks! > _______________________________________________ > Maxima-discuss mailing list > Max...@li... > https://lists.sourceforge.net/lists/listinfo/maxima-discuss > |