Sep
5

## Crank-Nicolson for a European put

A PDE can be solved by Finite Difference or Finite Element method, both methods require space discretization, therefore, explicit or implicit finite difference is applied for this problem. The advantage of explicit finite difference is it does not require matrix inversion, however, to satisfy CFL condition, dt (time interval) can not be too small to prevent from non-convergece result, Crank-Nicolson is supposed to balance between explicit and implicit finite difference by choosing theta=1/2, which means taking average of explicit and implicit method.

A sample code to show the performance of Crank Nicolson for a Europen put can be downloaded at http://www.maths.strath.ac.uk/~aas96106/ch24.m, it is from chapter 24 of the book

wiki(Crank Nicolson)

Hot posts:

15 Incredibly Stupid Ways People Made Their Millions

Online stock practice

Ino.com: Don't Join Marketclub until You Read This MarketClub Reviews

World Changing Mathematical Discoveries

Value at Risk xls

Random posts:

R for Matlab Users

Missing Data in R

Optimization Algorithms Week in Review 100412

Normal Inverse Gaussian option pricer

R API to Interactive Brokers Trader Workstation

A sample code to show the performance of Crank Nicolson for a Europen put can be downloaded at http://www.maths.strath.ac.uk/~aas96106/ch24.m, it is from chapter 24 of the book

**An Introduction to Financial Option Valuation: Mathematics, Stochastics and Computation**, more codes are at the homepage http://www.maths.strath.ac.uk/~aas96106/option_book.htmlwiki(Crank Nicolson)

**People viewing this post also viewed:**

Hot posts:

Random posts: