#TITLETOPICDIFFICULTYSTATUS
Consider a risky asset evolving under the risk-neutral measure according to the Black-Scholes model with constant risk-free rate and constant volatility :
A digital (binary) call option with maturity and strike has payoff:
Question: Give a closed-form formula for the price of this option at time .