The dynamics of the radiation fields in free-electron lasers is investigated on the basis of the integro-differential equations in the one-dimensional formulation. For simple cases we solved the integro-differential equations analytically and numerically to test our numerical procedures developed on the basis of the Filon method. The numerical results showed good agreement with the analytical solutions. To confirm the legitimacy of the numerical package, we carried out numerical studies on the inhomogeneous broadening effects, where no analytic solutions are available, due to the energy spread and the emittance of the election beam.