powered by
With global variable K, the strike price, calculate the value of European call option.
EuroCallOption(x, K)
The value of European call option
the stock price
the strike price
EuroCallOption(x = 2,K = 1)
Run the code above in your browser using DataLab