Infinite dimensional integrals and partial differential equations for stochastic and quantum phenomena