The integrals

are called Fresnel integrals. Using the substitution we find

and similar for and we find:

Now to evaluate we note:

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: