Ask Your Question

macavema's profile - activity

2018-08-13 12:10:42 -0600 received badge  Nice Question (source)
2018-08-11 05:32:52 -0600 commented answer How to simplify complicated expressions

Problem solved, thank you very much !

2018-08-11 05:29:44 -0600 received badge  Scholar (source)
2018-08-11 05:28:44 -0600 received badge  Editor (source)
2018-08-11 03:31:18 -0600 received badge  Student (source)
2018-08-10 18:18:03 -0600 asked a question How to simplify complicated expressions

Hello,

This complicated expression would be a zero function, but I can't achive to simplify it. I think I've run into lots of expressions like this one, but I've never come up with a solution.

This is mi code:

var('R d',domain='positive')
var('p',domain='real')
var('t',domain='real',latex_name="\\theta")

f=(R*cos(t) - d)*p/(-2*R*d*cos(t) + R^2 + d^2)^(3/2) + (R*cos(t) -R^2/d)*R^3*p/((-2*R^3*cos(t)/d + R^2 + R^4/d^2)^(3/2)*d^3) +R*p/(sqrt(-2*R^3*cos(t)/d + R^2 + R^4/d^2)*d^2