1 | initial version |
A proposal to Trac#10038 (relevant ticket) needs review...
Possible interim workarounds :
sage: var("a, b")
(a, b)
sage: sin(x).maxima_methods().exponentialize()
-1/2*I*e^(I*x) + 1/2*I*e^(-I*x)
sage: tan(x)._sympy_().rewrite("exp")._sage_()
-I*(e^(I*x) - e^(-I*x))/(e^(I*x) + e^(-I*x))
sage: exp(a + I*b).maxima_methods().demoivre()
(cos(b) + I*sin(b))*e^a
sage: exp(I*x)._sympy_().rewrite("sin")._sage_()
cos(x) + I*sin(x)
sage: exp(x)._sympy_().rewrite("sin")._sage_()
cosh(x) + sinh(x)
2 | No.2 Revision |
A proposal to Trac#10038 (relevant ticket) needs review...
Possible interim workarounds :
sage: var("a, b")
(a, b)
sage: sin(x).maxima_methods().exponentialize()
-1/2*I*e^(I*x) + 1/2*I*e^(-I*x)
sage: tan(x)._sympy_().rewrite("exp")._sage_()
-I*(e^(I*x) - e^(-I*x))/(e^(I*x) + e^(-I*x))
sage: exp(a + I*b).maxima_methods().demoivre()
(cos(b) + I*sin(b))*e^a
sage: exp(I*x)._sympy_().rewrite("sin")._sage_()
cos(x) + I*sin(x)
sage: exp(x)._sympy_().rewrite("sin")._sage_()
cosh(x) + sinh(x)
EDIT : This propoosal has been integrated in 9.5.beta0 ; the SymbolicRing class has now
demoivreand
exponentializemethods (implemented in
sage, not directly in ginac
/pynac
, which is way above my pay grade...).
HTH,
3 | No.3 Revision |
A proposal to Trac#10038 (relevant ticket) needs review...
Possible interim workarounds :
sage: var("a, b")
(a, b)
sage: sin(x).maxima_methods().exponentialize()
-1/2*I*e^(I*x) + 1/2*I*e^(-I*x)
sage: tan(x)._sympy_().rewrite("exp")._sage_()
-I*(e^(I*x) - e^(-I*x))/(e^(I*x) + e^(-I*x))
sage: exp(a + I*b).maxima_methods().demoivre()
(cos(b) + I*sin(b))*e^a
sage: exp(I*x)._sympy_().rewrite("sin")._sage_()
cos(x) + I*sin(x)
sage: exp(x)._sympy_().rewrite("sin")._sage_()
cosh(x) + sinh(x)
EDIT : This propoosal proposal has been integrated in 9.5.beta0 ; the SymbolicRing class has now
demoivreand
exponentializemethods (implemented in
sage, not directly in ginac
/pynac
, which is way above my pay grade...).
HTH,
4 | No.4 Revision |
A proposal to Trac#10038 (relevant ticket) needs review...
Possible interim workarounds :
sage: var("a, b")
(a, b)
sage: sin(x).maxima_methods().exponentialize()
-1/2*I*e^(I*x) + 1/2*I*e^(-I*x)
sage: tan(x)._sympy_().rewrite("exp")._sage_()
-I*(e^(I*x) - e^(-I*x))/(e^(I*x) + e^(-I*x))
sage: exp(a + I*b).maxima_methods().demoivre()
(cos(b) + I*sin(b))*e^a
sage: exp(I*x)._sympy_().rewrite("sin")._sage_()
cos(x) + I*sin(x)
sage: exp(x)._sympy_().rewrite("sin")._sage_()
cosh(x) + sinh(x)
EDIT : This proposal has been integrated in 9.5.beta0 ; the
class has SymbolicRing SymbolicRingnownow demoivre
demoivre and andexponentializeexponentialize methods (implemented inin sage, not directly
in inginacginac//pynac`, which is way above my pay grade...).pynac
,
HTH,
5 | No.5 Revision |
A proposal to Trac#10038 (relevant ticket) needs review...
Possible interim workarounds :
sage: var("a, b")
(a, b)
sage: sin(x).maxima_methods().exponentialize()
-1/2*I*e^(I*x) + 1/2*I*e^(-I*x)
sage: tan(x)._sympy_().rewrite("exp")._sage_()
-I*(e^(I*x) - e^(-I*x))/(e^(I*x) + e^(-I*x))
sage: exp(a + I*b).maxima_methods().demoivre()
(cos(b) + I*sin(b))*e^a
sage: exp(I*x)._sympy_().rewrite("sin")._sage_()
cos(x) + I*sin(x)
sage: exp(x)._sympy_().rewrite("sin")._sage_()
cosh(x) + sinh(x)
EDIT : This proposal has been integrated in 9.5.beta0 ; the SymbolicRing
class has now demoivre
and exponentialize
methods (implemented in
, not directly sage, sageinin ginac
ginac//pynacpynac`, , which is way above my pay grade...).
HTH,
6 | No.6 Revision |
A proposal to Trac#10038 (relevant ticket) needs review...
Possible interim workarounds :
sage: var("a, b")
(a, b)
sage: sin(x).maxima_methods().exponentialize()
-1/2*I*e^(I*x) + 1/2*I*e^(-I*x)
sage: tan(x)._sympy_().rewrite("exp")._sage_()
-I*(e^(I*x) - e^(-I*x))/(e^(I*x) + e^(-I*x))
sage: exp(a + I*b).maxima_methods().demoivre()
(cos(b) + I*sin(b))*e^a
sage: exp(I*x)._sympy_().rewrite("sin")._sage_()
cos(x) + I*sin(x)
sage: exp(x)._sympy_().rewrite("sin")._sage_()
cosh(x) + sinh(x)
EDIT : This proposal has been integrated in 9.5.beta0 ; the SymbolicRing
class has now demoivre
and exponentialize
methods (implemented in sage
, not directly in ginac
/pynac
, which is way above my pay grade...).
HTH,