Exact solutions for some statically indeterminate stochastic beams