A Finite Element Method for Transmission in Non-Uniform Ducts Without Flow: Comparison with the Method of Weighted Residuals