|
| PREVIOUS EXAMPLE | INDEX OF EXAMPLES | NEXT EXAMPLE | Example 7: A 3D plot
Load the DerivativesExpert`Options` package and the DerivativesExpert`GarmanKohlhagen` package from within Excel. The function is entered in an Excel cell as: =Math("Plot3D", "D[ EuropeanPutOption, GarmanKohlhagen[ x, y, 1/2, 10, 10, 25], {SpotPrice, 2}]", "{x, 80, 120}", "{y, 80, 120}", "PlotPoints -> 30", "PlotRange -> All", "ViewPoint -> {-1.3, -2.4, 2.0}", "AxesLabel -> {""spotprice"", ""exercise"", ""Gamma""}", "TextStyle->{FontSlant->""Italic"", FontSize->10}") The 3D plot shows e.g. that gamma is greatest at-the-money.
|
|
Updated 2 August 2009 |