Damped Pendulum

Classical Mechanics Level pending

A pendulum consists of a rigid massless rod of length L L with one end hinged at the origin of the x y xy plane. The other end is connected to a ball of mass m m . The pendulum rotates in the x y xy plane, and the ambient gravitational acceleration g g is in the negative y y direction.

There is also a damping force on the ball, which has the following form:

F D = D v \vec{F}_D = -D \, \vec{v}

In the above equation, D D is a damping coefficient, and v \vec{v} is the velocity of the ball. At time t = 0 t = 0 , the pendulum has zero speed and makes an angle θ \theta with the positive x x axis, as shown in the diagram.

At time t = 30 t = 30 , what is the sum of the x x and y y coordinates of the ball?

Details and Assumptions:
1) m = L = 1 m = L = 1
2) g = 10 g = 10
3) D = 0.1 D = 0.1
4) θ = π / 3 \theta = \pi/3
5) The ball can be treated as a point particle


The answer is -1.344.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

2 solutions

Karan Chatrath
Feb 10, 2021

At a general time t t , let the coordinates of the ball be ( x , y ) = ( cos θ , sin θ ) (x,y) = (\cos{\theta},\sin{\theta}) . The velocity and acceleration components are:

[ x y ] = [ cos θ sin θ ] [ x ˙ y ˙ ] = [ θ ˙ sin θ θ ˙ cos θ ] [ x ¨ y ¨ ] = [ θ ¨ sin θ θ ˙ 2 cos θ θ ¨ cos θ θ ˙ 2 sin θ ] \left[ \begin{matrix} x\\ y\end{matrix} \right] = \left[ \begin{matrix} \cos{\theta}\\ \sin{\theta} \end{matrix} \right] \implies \left[ \begin{matrix} \dot{x}\\ \dot{y} \end{matrix} \right] =\left[ \begin{matrix} -\dot{\theta}\sin{\theta}\\ \dot{\theta}\cos{\theta} \end{matrix} \right] \implies \left[ \begin{matrix} \ddot{x}\\ \ddot{y} \end{matrix} \right] =\left[ \begin{matrix}-\ddot{\theta}\sin{\theta}-\dot{\theta}^2\cos{\theta}\\ \ddot{\theta}\cos{\theta}-\dot{\theta}^2\sin{\theta} \end{matrix} \right]

Let the magnitude of tension be T T and it is directed towards the origin along the length of the rod. Now, applying Newton's second law gives:

m [ x ¨ y ¨ ] = [ 0 m g ] T [ cos θ sin θ ] D [ x ˙ y ˙ ] m\left[ \begin{matrix} \ddot{x}\\ \ddot{y} \end{matrix} \right] = \left[ \begin{matrix}0\\ -mg \end{matrix} \right] -T\left[ \begin{matrix} \cos{\theta} \\ \sin{\theta} \end{matrix} \right] -D\left[ \begin{matrix} \dot{x}\\ \dot{y} \end{matrix} \right]

This gives us a system of two equations in θ ¨ \ddot{\theta} and T T . Eliminating T T from these set of equations leads to the final equation of motion which is the following. Simplifications left out.

θ ¨ = θ ˙ 10 10 cos θ ; θ ( 0 ) = π 3 ; θ ˙ ( 0 ) = 0 \ddot{\theta} = -\frac{\dot{\theta}}{10} -10\cos{\theta} \ ; \ \theta(0) = \frac{\pi}{3} \ ; \ \dot{\theta}(0) = 0

We asked to compute the sum cos θ + sin θ \cos{\theta}+\sin{\theta} at time t = 30 t=30 . This has been done numerically as follows:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
clear all, clc

% Initial conditions:
theta(1)    = pi/3; dtheta(1)   = 0;

% Time step, etc. :
dt          = 1e-5;  t  = 0:dt:30;

for k = 1:length(t)-1

    % Equation of motion:
    ddtheta     = -10*cos(theta(k)) - dtheta(k)/10;

    % Semi implicit Euler numerical integration:
    dtheta(k+1) = dtheta(k) + ddtheta*dt;  
    theta(k+1)  = theta(k) + dt*dtheta(k+1);    
end

ANSWER = cos(theta(end)) + sin(theta(end)) % ANSWER = -1.3438

@Karan Chatrath nice question.

Talulah Riley - 4 months ago
Steven Chase
Feb 11, 2021

I think it is interesting how @Karan Chatrath incorporated the rod tension into his solution. My approach was a bit more conventional.

Moment of Inertia:

I = m L 2 I = m L^2

Position and velocity:

x = L cos θ y = L sin θ x ˙ = L sin θ θ ˙ y ˙ = L cos θ θ ˙ x = L \cos \theta \\ y = L \sin \theta \\ \dot{x} = -L \sin \theta \, \dot{\theta} \\ \dot{y} = L \cos \theta \, \dot{\theta}

Gravity, damping, and total force:

F g = ( 0 , m g ) F D = ( D x ˙ , D y ˙ ) F = F g + F D \vec{F}_g = (0, -m g) \\ \vec{F}_D = (-D \dot{x}, -D \dot{y}) \\ \vec{F} = \vec{F}_g + \vec{F}_D

Torque from vector cross product:

r = ( x , y ) τ = r × F \vec{r} = (x,y) \\ \vec{\tau} = \vec{r} \times \vec{F}

The torque is one-dimensional, so it can be thought of as a scalar τ \tau . The sign of τ \tau changes appropriately to yield oscillation. Angular acceleration:

θ ¨ = τ I \ddot{\theta} = \frac{\tau}{I}

Numerical integration takes care of the rest

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...