The Weierstrass Elliptic Function and Applications in Classical and Quantum Mechanics : A Primer for Advanced Undergraduates