Starting from:

$25

MA374 Lab 7 Solved

1.   Write a single program to compute the prices of European call and put options at time t for 0 ≤ t ≤ T in the classical BSM framework. Denote the call and put prices by C(t,x) and P(t,x) respectively, with x being the price of an underlying asset.

2.   Assume T = 1,K = 1,r = 0.05,σ = 0.6. Plot, in a single graph, C(t,x) as a function of x alone for t = 0,0.2,0.4,0.6,0.8,1. Do a similar plot for P(t,x) as a function of x. Now, show the same information in a 3-dimensional form, i.e., as a function both t and x.

3.   Plot C(t,x) and P(t,x) as a smooth surface above the (t,x)-plane.

4.   Study the sensitivity of both the functions C and P as a function of model parameters. If required, you may assume different parameter values as opposed to the one given above. Present your results in the form of tables and graphs (both in two and three dimensional).

Put all your observations in the report.

More products