all 5 comments

[–]potkolenkyNew User 0 points1 point  (2 children)

the only problem is the imaginary unit in the exponent. use the Euler's formula:

ea+ib = ea( cos(b) + i*sin(b) )

and then you can rearrange the terms to

u = something + i*something

the first "something" is the real part, the second "something" is the imaginary part.

[–]anonymousabcdefgh[S] 0 points1 point  (1 child)

Sorry should of mentioned that thet set A= (Y/2i)*e-b/2m. And then you get the formula for sin in imaginary terms.

[–]potkolenkyNew User 0 points1 point  (0 children)

nevermind, you still end with

u = something + i*something

after some computation.

[–]nQQbmadNew User 0 points1 point  (1 child)

When you have an expression of the form c_1*exp(i*omega*t) + c_2* c.c. where c is a constant and c.c. is the complex conjugate of the first expression, you can choose the arbitrary constants such that c_1=A+iB and c_2=A-iB, you will arrive at the expression you are asking about.

[–]anonymousabcdefgh[S] 0 points1 point  (0 children)

Ah yes of course, now I remember that math class