Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 3 years ago

keko gravatar image

Square root of fraction

I have the following values:

var('r')
f = function('f')(r)

with an equation given by:

eq = sqrt(-1/(f^2*sin(r)^2))-1/sqrt(-f^2*sin(r)^2)

which, in LaTeX expression, looks like:

1f(r)2sin(r)21f(r)2sin(r)2

In principle, this should be equal to zero. However,

bool(eq==0)

gives me False. I have tried with .simplify_full() and following the suggestion in here, I have used ._sympy_().simplify():

eq = eq._sympy_().simplify()
bool(eq==0)

but I still get False. Am I missing something?

Square root of fraction

I have the following values:

var('r')
f = function('f')(r)

with an equation given by:

eq = sqrt(-1/(f^2*sin(r)^2))-1/sqrt(-f^2*sin(r)^2)

which, in LaTeX expression, looks like:

1f(r)2sin(r)21f(r)2sin(r)2

In principle, this should be equal to zero. However,

bool(eq==0)

gives me False. I have tried with .simplify_full() and following the suggestion in here, I have used ._sympy_().simplify():

eq = eq._sympy_().simplify()
bool(eq==0)

but I still get False. Am I missing something?

Square root of a fraction

I have the following values:data:

var('r')
f = function('f')(r)

with an equation given by:

eq = sqrt(-1/(f^2*sin(r)^2))-1/sqrt(-f^2*sin(r)^2)

which, in LaTeX expression, looks like:

1f(r)2sin(r)21f(r)2sin(r)2

In principle, this should be equal to zero. However,

bool(eq==0)

gives me False. I have tried with .simplify_full() and following the suggestion in here, I have used ._sympy_().simplify():

eq = eq._sympy_().simplify()
bool(eq==0)

but I still get False. Am I missing something?

Square root of a fraction

I have the following data:variable and function:

var('r')
f = function('f')(r)

with an equation given by:

eq = sqrt(-1/(f^2*sin(r)^2))-1/sqrt(-f^2*sin(r)^2)

which, in LaTeX expression, looks like:

1f(r)2sin(r)21f(r)2sin(r)2

In principle, this should be equal to zero. However,

bool(eq==0)

gives me False. I have tried with .simplify_full() and following the suggestion in here, I have used ._sympy_().simplify():

eq = eq._sympy_().simplify()
bool(eq==0)

but I still get False. Am I missing something?