Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.



Replacement
Posted:
Jul 17, 1996 1:40 AM


Hi,
I have something like
x/Sqrt[a^2+b^2]+Sqrt[a^2+b^2]/y
and I'd like to substitute Sqrt[a^2+b^2] by r.
x/Sqrt[a^2+b^2]+Sqrt[a^2+b^2]/y //. Sqrt[a^2+b^2]>r gives:
x r  +  Sqrt[a^2+b^2] y
(replace one only in the numerator) How to replace Sqrt[a^2+b^2] by r everywhere in the expression?
Thanks. S.



