A Closed Form Solution of a Longitudinal Bar With a Viscous Boundary Condition