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.
Thursday, February 27, 2014
Thursday, March 7, 2013
C++ Coding - Using NAG for normal
Question Generate pseudo random numbers from the normal distribution with NAG libraries
C++ Coding - Random Numbers and Monte Carlo
Question Generate pseudo random numbers from the normal distribution.
Friday, February 22, 2013
C++ Coding - Euler's Method
Question

![x ∈ [a,b] and y (a ) = α](https://lh3.googleusercontent.com/blogger_img_proxy/AEn0k_vSv17BrrFzEdV8O_Bx-cyGilYDc_mzQbQTjmlYyIein9HsMfwNsl5HSRtRTbapw2yNlNhB7sospjBhoPPsDAtHbHJeaLG_4rjH0O-2yEba9Zi8BXGFB8N2jzX8HiDoyTegvACUETFXwbm7n11EazzfftqnL-gLyxJK0S-5n7UzsDSs=s0-d)
write a function to return the value of y at x=b given


Consider an initial value ODE of the following form
Thursday, February 7, 2013
C++ - Coding - Deterministic Coupon Bond Pricer
Question You must price a coupon bond with a principle of $100 maturing in 2 years time.
Two coupons of $5 are paid at the end of year one and year two, and the continuous
compound interest rate is a constant 10%. Extend your code to price a coupon bond with any specification.
C++ - Coding Black Scholes Formula
Wednesday, February 6, 2013
C++ Examples - Cumulative Normal Distribution Function
Subscribe to:
Posts (Atom)