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,
More generally
By defining
We can find: