WOLFRAM LANGUAGE FEATURED EXAMPLE

Expected Profit from an Option

Assume to be the price of a financial asset at time and assume it follows a WienerProcess. The value of a simple option is the amount it exceeds 12 at time . Find the expected value of the option.

    
In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=
Plot the value for and different assumptions on maturity time and volatility :
In[3]:=
Click for copyable input
Out[3]=