I have implemented a finite difference scheme for pricing options using a Black-Scholes-like model. I tested my implementation on a call option, and found that it gave extremely inaccurate results. I investigated intermediate values in my computations, and I suspect that my inaccurate results are caused by the discontinuity in the payoff function. The payoff function: My scheme requires that I calculate $
Finite difference methods with discontinuity in the payoff function
user59155
