I have an assignment in which $S_t$ is a stock price following a geometric Brownian motion. The task is now to show that at time t the risk-neutral price of a derivative on $S_t$ that pays $S_T^3$ at time T is
$$S_t^3 e^{(2r + 3\sigma^2)(T-t)}$$
Next, I need to work out the risk-neutral price of a derivative that pays $(S_T^2 - K)^+$ at time T. This is also in a continuos time setting.
Any help much appreciated.
Hint: under the risk neutral probability, the prices of the securities having an $L^2$ payoff are martingales. So you probably need to compute the Ito-differential of $$ (t,\omega)\to S^3_t e^{(2r+3σ^2)(T−t)} $$