OMG, after all those questions you posed in that forum, and all the answers you got, do you still believe, that the following equation is correct
or do you really still believe that Mathcad is capable of handling those ambiguities correctly and is a suitable tool to deal with that kind of calculations?
The equation is NOT correct (its missing an infinite number of "solutions"
->
and Mathcad sure is NOT a tool which deals with that kind of calculations in a satisfactory way.
You must accept those facts at last!!
All the following results are correct, but Mathcad is picking just one of the infinite number of possible correct results. Finally thats (again!) the reason for your "problem". You won't get a real result from your integral if Mathcad picks the "wrong" (in fact its not wrong) value.
So calculate your integral yourself by hand, replace i*x in the exponent by i*(x+k*2 pi) and see where you get.