'demoivre' not quite up to Wolfram's 'ExpToTrig' ?
Henry Baker <[email protected]> Sun, 03 May 2026 01:05:37 +0000
| Newsgroups | gmane.comp.mathematics.maxima.general |
|---|---|
| Message-ID | <[email protected]> |
I'm trying to 'undo' exponentialize on sinh(x), cosh(x), etc. While demoivre(exp) works on sin(x), cos(x), it doesn't work on sinh(x), cosh(x). But you can trick demoivre by substituting x=%i*y, do demoivre, and then substitute back y=x/%i. Why isn't 'demoivre' smart enough to do this itself ?