§4-7拉格朗日方法哈密尔顿原理:W.R.Hamilton(1805-1865):IrishMathematician)(,,210)(21workvirtualrFWrrmTrFWrrmTdtWTtt0)()()(212121212121dtrrmFdtWTdtrrmrrmdtrdtdrmdtrrmttttttttttttenergypotentialrdgradrdrFdVVWLawSecondsNewtonrmF))()(,()'(qqVVqqTqqTTqVVqqTTdtVTEqnsLagrangett,)(,),(0)('21systemveconservatiforqVqTqTdtdqdtqVqTqTdtdqdtqTdtdqqTdtqdtdqTdtqqTSincedtqqVqqTqqTdtVTtttttttttttttt0)(0)()()()()(21212121212121QqLqLdtdqQWforceveconservatiforqLqLdtdVTLi0)(functionLagrangianUsing例1设图中质量为M的物块A上,用长为l的无重刚杆连接一质量为m的小球B,弹簧的刚度系数为k,不计摩擦。试用拉格朗日方程写出系统微振动方程。sinlxxABcoslyB)(212122221BBAyxmxmTyAxAxlBkAAxlmlmxmmcos21)(212222221cos222222glmxkgymxkVBcos2cos21)(21222222221glmxkxlmlmxmmLAA0)(AAxLxLdtd(1)lmxmmdtdA0cos)(2210)(LLdtd(4)0sincos(3)0sincos)(222222221glmxlmlmlmlmxmmAA假设为小量,将方程中的高阶小量略去得:00)(2222221glmxlmlmlmxmmAA