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.
Wolfram Language code: priceProcess = WienerProcess[μ, σ];Wolfram Language code: optionValue = Expectation[Max[x[t] - 12, 0], xpriceProcess]
Plot the value for and different assumptions on maturity time and volatility :