Initial Value Problem

I'm am unsure of really how to solve this problem which is stated as such;
Compute the integral e to the power of $-x^2$ by solving an appropriate IVP,(sorry i couldnt get this to input correctly into the thread correctly) the integral is from 0 to 2. im not really sure how to approach this problem. any help would be great