• + 0 comments

    Solved using Monte Carlo! The accuracy required is not insanely high (just the integral part) and the number of nodes is reasonably small (<=30), leaving plenty of time to run the simulation many times (I could do it 500,000 times using C++ under the time limit) stochastically to find an approximate average. I'm not sure if this is the intended way, though.