# # pendulum.ode # # XPP ODE file for the vector field: pendulum # # This file was generated by the program VFGEN (Version:2.4.0) # Generated on 10-Jul-2008 at 13:16 # # par g=9.81 par b=0.0 par L=1.0 par m=1.0 # # # The vector field and initial conditions # theta'=v init theta=3.131592653589793116 v'=-m^(-1)*v*L^(-2)*b-sin(theta)*g*L^(-1) init v=0.0 # aux energy=-m*g*L*cos(theta)+1/2*m*v^2*L^2 # done