Pergunta de entrevista da empresa WorldQuant

Prob question to solve an integral