Question Generate pseudo random numbers from the normal distribution with NAG libraries
Thursday, March 7, 2013
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
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
C++ Examples - Functions Loops
Question: Write a function to calculate sin(x) using the first N terms of the power expansion
Thursday, January 31, 2013
C++ Examples - Logic
Question: Write a function that takes the arguments a, b and c, computes and then displays the roots
of the quadratic equation.
Visual Studio 2010 at UoM
Getting started on Visual Studio 2010
On windows one of the best IDEs (Integrated Development Environment) to use on Windows is Visual Studio 2010. Visual Studio is primarily written for developers to build complex applications using graphics, audio and interactions with the user. However, during this course we are only interested in coding mathematics, so will not really touch on the many things that Visual Studio can do for you. You will need to know how to edit, compile and run simple Win32 console applications.
The following "How To" is for the Windows network at the University of Manchester. First click on the start menu and type "visual", you should see Visual Studio 2010 appear to select.
On windows one of the best IDEs (Integrated Development Environment) to use on Windows is Visual Studio 2010. Visual Studio is primarily written for developers to build complex applications using graphics, audio and interactions with the user. However, during this course we are only interested in coding mathematics, so will not really touch on the many things that Visual Studio can do for you. You will need to know how to edit, compile and run simple Win32 console applications.
The following "How To" is for the Windows network at the University of Manchester. First click on the start menu and type "visual", you should see Visual Studio 2010 appear to select.
Subscribe to:
Posts (Atom)