ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Thu, 16 Nov 2017 06:49:23 -0600Convert exponential form to hyperbolic functionshttp://ask.sagemath.org/question/39602/convert-exponential-form-to-hyperbolic-functions/Is there a method to convert expression containing exponentials like (e^a + e^-a) / 2 to hyperbolic functions?
I tried to even call maxima functions directly, but thinks like
`
cosh(a)._maxima_().exponentialize().demoivre()
`
still don't give me `cosh(a)` back but instead return the form in exponentials.TobiasDThu, 16 Nov 2017 06:49:23 -0600http://ask.sagemath.org/question/39602/I don't know why Sage return 0 for integrate(sin(2*x).abs(),(x,0,pi)) when its value is 2http://ask.sagemath.org/question/25269/i-dont-know-why-sage-return-0-for-integratesin2xabsx0pi-when-its-value-is-2/When I try integrate(sin(x).abs(),(x,0,pi)) the program return the same thing. The numerical integration is correct, the program return (1.9999999999999998, 2.220446049250313e-14). I don't know if it is a bug or what. Any help? I have tried sage 6.2, 6.3, 6.4.1
Mathematica can do It without any problem http://www.wolframalpha.com/input/?i=Integrate[Abs[Sin[2*x]]%2C{x%2C0%2CPi}]
Neither Sympy nor Maxima can't compute this.ArturoSun, 14 Dec 2014 09:25:05 -0600http://ask.sagemath.org/question/25269/