Ask Your Question

macavema's profile - activity

2023-05-30 09:24:05 +0200 received badge  Famous Question (source)
2023-05-23 18:13:04 +0200 received badge  Notable Question (source)
2020-12-14 21:17:31 +0200 received badge  Popular Question (source)
2018-08-13 19:10:42 +0200 received badge  Nice Question (source)
2018-08-11 12:32:52 +0200 commented answer How to simplify complicated expressions

Problem solved, thank you very much !

2018-08-11 12:29:44 +0200 received badge  Scholar (source)
2018-08-11 12:28:44 +0200 received badge  Editor (source)
2018-08-11 10:31:18 +0200 received badge  Student (source)
2018-08-11 01:18:03 +0200 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