No,that number involving the sqrt is to be put in the exponential olny.When taking the ratio of the 2 "x"-s,the cosine part vanishes (is simplified through),so it doesn't matter whether u put or not in the cosine...