ya actually that would be good, I am still getting an imaginary left over in my <p>.
I'm trying to take a expectation value for momentum, the operator is h/i(d/dx) (hbar that is) and the actual thing I am taking the derivative of is this
e^(-(ax^2)/(1+2ihat/m)) (all constants except for x) and doing what you just told me i get:
du=(-2am^2x)/(4a^2h^2t^2+m^2)+(4ia^2hmxt)/(4a^2h^2t^2+m^2)
there is also a sqrt(1+2hiat/m) under the exponential, but i want to leave that alone so i can take the intergral of x*(wavefn)^2, (the wavefn^2 i calculated in a different part of the problem, and a constant w came out of it that i need to keep everythign in terms of for this part)
So I am left with an i in my expectation value for my momentum, which is wrong :(