help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pendulum Help


From: Doug Stewart
Subject: Re: Pendulum Help
Date: Sun, 9 Oct 2011 21:46:05 -0400



On Sun, Oct 9, 2011 at 9:32 PM, Nelson Chung <address@hidden> wrote:
Dear all:

Can someone tell me how to compute the motion and the period for this pendulum equation?

x" + sinx = 0.

thanks.

--

Nelson



_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave



from
http://www.myphysicslab.com/pendulum1.html

Numerical Solution

To solve the equations of motion numerically, so that we can drive the simulation, we use the Runge-Kutta method for solving sets of ordinary differential equations. First we define a variable for the angular velocity ω = θ'. Then we can write the second order equation (1) as two first order equations.θ' = ωω' = − gR sin θThis is the form needed for using the Runge-Kutta method.

--
DAS

https://linuxcounter.net/user/206392.html

reply via email to

[Prev in Thread] Current Thread [Next in Thread]