Thursday, February 27, 2014

C++ Coding - Time to first exit

Question Calculate the expected time to first exit from the interval [0,1] for a Brownian motion X with the following SDE
where dW is a standard Wiener process and X(t=0)=0.56.