Question: Part Real of complex expression

Hi, i try the part of Real of the complex expression:

restart;
w := A*exp(-alfa(1+I)*y)+B*exp((1+i)*y);
            A exp(-alfa(1 + I) y) + B exp((1 + i) y)
u := Re(w);
          Re(A exp(-alfa(1 + I) y) + B exp((1 + i) y))


But does not work.

Regards.

 

 

Please Wait...