Ask Your Question

Mira Awad's profile - activity

2017-05-10 20:06:02 -0600 asked a question What is equivalent to applyrule in Maple

I have an expression e1 and in e1 I would like to replace e2 (a sub-expression of e1) with e3 (a different expression). In Maple I use

applyrule([e2=e3,1/e2=1/e3],e1);

Is there a similar command in Sage?