Modelling and solution of stochastic inverse problems in mathematical physics