TransWikia.com

How to find the norm of an imaginary exponential expresion?

Mathematica Asked by JuanMuñoz on February 9, 2021

I need to find the norm of the following expression

$$
|1+e^{-i2pi w}+e^{-i4pi w}|^2$$

With w real number.

For doing this I coded:

a = 1 + Exp[-2*Pi* I w] + 0.5 Exp[-4 Pi w I]
Norm[a]^2

The output is:

Norm[1 + E^(-2 I [Pi] w) + 0.5 E^(-4 I [Pi] w)]^2

So the code is not calculating effectively the norm.

One Answer

a = 1 + Exp[-2*Pi* I w] + 0.5 Exp[-4 Pi w I];
Rationalize[ComplexExpand@Abs[a] // FullSimplify]^2

$ 3 cos (2 pi w)+cos (4 pi w)+frac{9}{4}$

Answered by user64494 on February 9, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP