Opened 22 months ago
Last modified 22 months ago
#24231 new defect
Maxima's demoivre() doesn't work with hyperbolic functions.
Reported by: | charpent | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | sage-8.1 |
Component: | symbolics | Keywords: | |
Cc: | Merged in: | ||
Authors: | Reviewers: | ||
Report Upstream: | Reported upstream. No feedback yet. | Work issues: | |
Branch: | Commit: | ||
Dependencies: | Stopgaps: |
Description (last modified by )
A nice one :
sage: [(t,t(x)._maxima_().exponentialize().demoivre().sage()) for t in [sin,cos, ....: tan,sinh,cosh,tanh]] [(sin, sin(x)), (cos, cos(x)), (tan, sin(x)/cos(x)), (sinh, -1/2*e^(-x) + 1/2*e^x), (cosh, 1/2*e^(-x) + 1/2*e^x), (tanh, -(e^(-x) - e^x)/(e^(-x) + e^x))]
This is a Maxima problem :
(%i5) map(lambda([t],[t,demoivre(exponentialize(t(x)))]),[sin,cos,tan,sinh,cosh,tanh]); (%o5) [[sin,sin(x)],[cos,cos(x)],[tan,sin(x)/cos(x)],[sinh,(%e^x-%e^-x)/2], [cosh,(%e^x+%e^-x)/2],[tanh,(%e^x-%e^-x)/(%e^x+%e^-x)]]
One also notes that sin(x)/cos(x)
is not simplified in tan(x)
.
Reported on this ask question.
Change History (4)
comment:1 Changed 22 months ago by
- Description modified (diff)
comment:2 Changed 22 months ago by
- Component changed from PLEASE CHANGE to symbolics
comment:3 Changed 22 months ago by
comment:4 Changed 22 months ago by
- Report Upstream changed from Not yet reported upstream; Will do shortly. to Reported upstream. No feedback yet.
This has been reported as Maxima's bug #3358.
Note: See
TracTickets for help on using
tickets.
Note that symbolic issues are collected on this wiki page.