The dynamic response to variable magnitude moving distributed masses of simply supported nonuniform Bernoulli-Euler beam resting on Pasternak elastic foundation is investigated in this paper. The problem is governed by fourth order partial differential equations with variable and singular coefficients. The main objective of this work is to obtain closed form solution to this class of dynamical problem. In order to obtain the solution, a technique based on the method of Galerkin with the series representation of Heaviside function is rst used to reduce the equation to second order ordinary differential equations with variable coefficients. Thereafter the transformed equations are simplied using (i) The Laplace transformation technique in conjunction with convolution theory to obtain the solution for moving force problem and (ii) nite element analysis in conjunction with Newmark method to solve the analytically unsolvable moving mass problem because of the harmonic nature of the moving load. The nite element method is rst used to solve the moving force problem and the solution is compared with the analytical solution of the moving force problem in order to validate the accuracy of the nite element method in solving the analytically unsolvable moving mass problem. The numerical solution using the nite element method is shown to compare favorably with the analytical solution of the moving force problem. The displacement response for moving distributed force and moving distributed mass models for the dynamical problem are calculated for various time t and presented in plotted curves. Foremost, it is found that, the moving distributed force is not an upper bound for the accurate solution of the moving distributed mass problem, showing that the inertia term must be considered for accurate assessment of the response to moving distributed load of elastic structural members. Analyses further show that increase in the values of the structural parameters such as axial force N, shear modulus Gandfoundation stiffness K reduces the response amplitudes of the non-uniform Bernoulli-Euler beam under moving distributed loads. Finally, for the same natural frequency, the critical speed for the non-uniform Bernoulli-Euler beam traversed by moving distributed force is greater than that under the inuence of a moving distributed mass. Hence resonance is reached earlier in the moving distributed force problem.