The integrals
are called Fresnel integrals.
Using the substitution
and similar for
Now to evaluate
Now sub that into the above expression,
change order of integration
and do some integration by parts
Should get
Similarly,
By adding and subtracting these integrals we get:
More generally
By defining
We can find: