An Approximate Solution for Boundary Value Problems in Structural Engineering and Fluid Mechanics