exponentials to sines and cosines

Discussion in 'Mathematica' started by Will Self, Jul 18, 2003.

  1. Will Self

    Will Self Guest

    1. How do I get Mathematica to rewrite (-1)^(1/3) in standard rectangular
    form?

    2. The following function was returned by Mathematica as the solution of a
    differential equation. This function is real. How do I get Mathematica to
    write it in terms of Sines and Cosines?

    f[x_]=(1 + E^(x + (-1)^(1/3)*x) + E^((-1)^(1/3)*x + (-1)^(2/3)*x))/
    E^((-1)^(1/3)*x)

    Thanks.
     
    Will Self, Jul 18, 2003
    #1
    1. Advertisements

  2. Will Self wrote in comp.soft-sys.math.mathematica:
    ExpToTrig
     
    Bas Zoetekouw, Jul 19, 2003
    #2
    1. Advertisements

  3. Hi,

    FullSimplify[ExpToTrig[expr], Element[x, Reals]]

    Regards
    Jens
     
    Jens-Peer Kuska, Jul 19, 2003
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.