constrained particle dynamics with Lagrange Multiplier method. (1) A Bead on a Wire (2) “Double Pendulum” Problem