The Dynamic Analysis of Beams under Distributed Loads Using Laplace-Based Spectral Element Method