You are on page 1of 5

>> simplify(diff(sym('log((sqrt(x^2+y^2)-x)/(sqrt(x^2+y^2)+x))')))

ans =

-2/(x^2 + y^2)^(1/2)

>> pretty(ans)
2
- ------------2

sqrt(x + y )

You might also like