Thursday, December 11, 2014
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.
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_v7YLh7NnStju0deYzS-JpmO6QYvO129KFXu3MOSnsUPEbmdCVGv32Z2iQj3HG5petphYHn30NYVX1DdJk3pd1E99J1UKVvqJyKjJKO4EjdQM8-ROzQN9rbhSDf6nl-VOgVF3coWs6IeGNdH8V-yaN8vHOMEir5Ylpn3xaawowG8NJK=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
Subscribe to:
Posts (Atom)