Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • 2
    $\begingroup$ Related: mathematica.stackexchange.com/questions/30389/… $\endgroup$ Commented Mar 12, 2018 at 9:38
  • $\begingroup$ This is fairly simple. Based on your question, the frequency is the same, so yea this should be possible. You could do the following: ExpToTrig[FullSimplify[TrigToExp[<Your Expression Here>]]] $\endgroup$ Commented Mar 12, 2018 at 10:12
  • $\begingroup$ @BrettHaupt your example does not work with OP's code. $\endgroup$ Commented Mar 12, 2018 at 12:07
  • $\begingroup$ @HenrikSchumacher You are right. Thank you for point out that error! I've changed my question. $\endgroup$ Commented Mar 12, 2018 at 12:15
  • $\begingroup$ @BrettHaupt Thank you for your answer! I replaced m nand pwith real number and implemented your code. Then I got my origin expression yet. So is there anything wrong? $\endgroup$ Commented Mar 12, 2018 at 12:22