EulerEquations


returns the Euler-Lagrange differential equation obeyed by derived from the functional f, where f depends on the function and its derivatives, as well as the independent variable x.


returns the Euler-Lagrange differential equation obeyed by .


returns a list of Euler-Lagrange differential equations obeyed by .

更多信息更多信息

范例范例打开所有单元关闭所有单元

基本范例 (2)基本范例 (2)

In[1]:=
Click for copyable input

The Euler equations for the arc length in two dimensions yields a straight line:

In[2]:=
Click for copyable input
Out[2]=
In[3]:=
Click for copyable input
Out[3]=
In[1]:=
Click for copyable input

A simple pendulum has the Lagrangian :

In[2]:=
Click for copyable input
Out[2]=

The solution to the pendulum equation can be expressed using the function JacobiAmplitude:

In[3]:=
Click for copyable input
Out[3]=
New to Mathematica? Find your learning path »
Have a question? Ask support »