Suppose a stock allows a geometric Brownian motion in a Black-Scholes world. Develop an expression for the price of an option that pays $S^2 - K$ if $S^2 > K$ and zero otherwise. What PDE will this option satisfy?
We have $$dS_t = \mu S_tdt + \sigma S_t dW_t$$ and $F_T(t) = e^{r(T-t)}S_t$. I am lost where to go, unless we are in the risk-neutral measure world I can go on to show that
$$dF_T(t) = \sigma F_T(t)dW_t$$
But I cannot follow Joshi's solution to this, any suggestions are appreciated. The suggested post for pricing the square or nothing option does not seem the same as what I am asking for here.