I am unsure how to start with the following problem.
I have two contingent claims where contingent claim (1) pays $\int_0^T S_u du$ and contingent claim (2) pays $(\log S_T)^2$ at time $T$
Now I would like to use the Black-Scholes model to get their time-zero prices
Using the BS formula $C(S_0,K,\sigma,r,T)=S_0\Phi(d_1)-Ke^{-rT}\Phi(d_2)$ with $d_1=d_2+\sigma\sqrt{T}, d_2=\frac{\log{K/S_0}-(r-\frac{1}{2} \sigma^2)T}{\sigma\sqrt{T}}$
where I can I include the expressions from above?