Maple SAM-04

Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

Applied Mathematics and Informatics

Mechanical Vibration Analysis Using Maple


WILLIAM F. SNCHEZ COSSIO
Logic and Computation Group
Theoretical and computational Physics Group
Physics Engineering Program
Sciences and Humanities School
EAFIT University
Medelln, COLOMBIA
[email protected]
Abstract: - The current engineering problems often consider damped harmonic oscillator, resulting in secondorder differential equations that so far have been solved by algebraic methods by hand; but with the advent of
software to solve this equations in a quicker way you can optimize the time spent in the process. The purpose of
this paper is to show how to apply MAPLE for this classic problem, the linear solution of these equations and
the generation of graphics for the system response, using some examples for this purpose.
Keywords: - Computational Physics, Differential Equations, Oscillations, Harmonic Motion, Maple.

dressed in the present work to solve them by means


of computational methods using CAS software, in
this case with Maple.

1. Introduction
Vibrations and mechanical oscillations have been
captured by man for long form different approaches
and these have been studied and used in his work. In
contemporary engineering these vibrations are
present in different disciplines and problems, as
simple as a moving mass, which may have an impact on their environment, as the shock absorbers of
a car or a parallel plate capacitor; or a pendulum in
motion which, in turn, may have another one attached to itself (double pendulum) or two (triple) or
usually several, gaining complexity. The mathematical modeling of these problems generates differential equations both linear and non linear, which until
now have been solved by manual methods, these
being very tedious and costly in time; also, it has a
component that is not possible to ignore: the error
entered by the same person doing the work and human error. With the advent of CAS software (Computer Algebra Systems) a window is opened that
shows the possibility of carrying out a more optimal
and efficient solution. This article examines the utility of using this software, in this case Maple, to
solve the equations generated in the modeling of
physical phenomena.

2.1. Spring mass oscillating system with two


degrees of freedom

Fig. 1i

2.2. Coupled pendulums oscillating system


with three degrees of freedom

Fig. 2ii

2. Problem
In figures 1 to 4 a list of some common basic problems in engineering is presented that where adISBN: 978-960-474-260-8

32

Applied Mathematics and Informatics

The following are the methods used in this work:

2.3. Electromechanical system with an RLC


circuit whose capacitance is variable by
the oscillation of a spring

3.1. Euler-Lagrange method


This is powerful enough to solve physics problems,
besides being well publicized, but a small disadvantage is that it can become cumbersome. The CAS
software simplifies the use of this method by reducing it to these steps:
First, a lagrangian is defined as the difference between the total kinetic energy and the potential
energy of the system.
(1)
Then this lagrangian is integrated over time to find
the Action

Fig. 3iii

2.4. Electromechanical system with an RLC


circuit with two variable capacitors by
the oscillation of a spring, connected in
parallel and other elements attached to
these independently

(2)
the
Based on the principle of least action
functional derivative of the action is found using the
command implemented in Maple , Fundiff, finding the Euler-Lagrange equations that describe the
system.

3.2. Laplace transform Method


Physical System

System of
differential
equations

Initial
conditions

Fig. 4iv
Laplace
transforming

The above problems are the main but also took into
account many other problems but will refrain from
coming here due to space.

Algebraic
Equation
System

3. Method
One of the advantages of current computational methods is that they incorporate many of the mathematical methods developed and used to solve the
equations that describe physical phenomena such as
the vibrations addressed here. But it is important to
note that not all of these methods have been implemented, because the CAS software is a constantly
developing area that has achieved great progress,
but still has some way to go.

ISBN: 978-960-474-260-8

Parameters

Solver

Laplace
Inverter

33

Analytical
Solutions

Graphics

Applied Mathematics and Informatics

First Euler-Lagrange equation

3.3. Numerical solution methods

Physical System

(8)
Second Euler-Lagrange equation
Initial
conditions

System of
differential
equations

Parameters

(9)
Solution
It can vary with the force applied to the system.

Numeric
Solver

With
and initial conditions for x1, x2
and their velocities, the system response is obtained
for each x. The constants were defined to give a
numerical solution, and then the results were plotted.

Graphics

4. Results
The equations and solutions to the problems addressed are outlined below. The parameters used
were the same than in the figure in section 2 for
each problem.

(10)

4.1. Spring mass oscillating system with two


degrees of freedom
Kinetic energy
(3)
Potential energy
(4)
Power dissipated by a buffer of the system
(5)
Lagrangian

(6)
Action
Fig. 5

4.2. Coupled pendulums oscillating system


with three degrees of freedom

(7)

The triple pendulum system is described by the following equation:


(11)
(12)

ISBN: 978-960-474-260-8

34

Applied Mathematics and Informatics

(14)

4.3. Electromechanical system with an RLC


circuit whose capacitance is variable by
the oscillation of a spring

(15)

Kinetic energy of the electromechanical system

(13)

(16)
(21)
Potential energy of the electromechanical system

Kinetic energy

;
Power dissipated by a buffer of the system

(17)
Potential energy
(18)
Then the Euler-Lagrange method was applied, defining the Lagrangian and the action, but these are
not shown here due to space constraints.
Solution
It was not possible to find an analytical solution for
this problem so it is solved by using numerical methods with the initial conditions and parameters of
the system. Then the solution was plotted.

(22)

(23)
Lagrangian

(24)
Action

(19)

(25)
First Euler-Lagrange equation

(20)

(26)
Second Euler-Lagrange equation
(27)
Solution
It was not possible to find an analytical solution for
this problem so it is solved by using numerical methods with
, the initial conditions and
parameters of the system. Then the solution was
plotted.
(28)
(29)

Fig. 6

ISBN: 978-960-474-260-8

35

Applied Mathematics and Informatics

and parameters of the system. Then the solution was


plotted.
(33)
(34)

Fig. 7

4.4. Electromechanical system with an RLC


circuit with two variable capacitors by
the oscillation of springs, connected in
parallel and other elements attached to
these independent
Kinetic energy of the electromechanical system

Fig. 8

In this case the charges one and two were the same,
and the currents one and two were the same too.

(30)
Potential energy of the electromechanical system

5. Conclusions

;
Power dissipated by a buffer of the system

(31)

(32)
Then the Euler-Lagrange method was applied, defining the Lagrangian, the action and the EulerLagrange equations, but these are not shown here
due to space constraints.
Solution
It was not possible to find an analytical solution for
this problem so it is solved by using numerical methods with
and the initial conditions

ISBN: 978-960-474-260-8

36

This study addressed issues of mechanical and


electro-mechanical vibrations, seeking to show
how to solve them through the use of CAS
software, because in this way the process is optimized to make it more efficient.
The differential equations encountered in modeling mechanical vibrations can be solved by
several methods such as Laplace transform,
which is very effective for linear equations.
In everyday engineering is very common to
find problems where modeling is performed using nonlinear differential equations, handling
those is a bit more complicated but can be
solved by the Euler-Lagrange powerful method, greatly facilitating the calculations.
It is possible to find analytical solutions for linear differential equations, this being much
more efficient by computational methods.

Applied Mathematics and Informatics

For equations of higher degree it is not possible


to find an analytical solution but they can be
solved by using numerical methods giving values to the parameters involved in these.
Through the use of computational methods it is
possible to optimize the process of solving
physical problems presented in everyday engineering, because normally this process is very
costly in time, being necessary a person to carry it out manually
The engineers have found a great pillar of support in numerical computing software such as
MATLAB, being these more common than
the software used in this work, Maple, thouhg
the latter has the advantage of incorporating
many mathematical methods for solving equations and is designed to work analytically obtaining general solutions for models in which is
mathematically possible.
It is expected that in the near future it will be
possible to use the advances made by artificial
intelligence and parallel computing in the
processing of CAS software and in modern engineering applications.

6. References
Marie Dillon Dahleh, William T. Thomson. Vibration, Mechanical. Encyclopedia of Physical Science
and Technology, 2004, pp. 455-473
Eric W. Weisstein, Double pendulum (2005), ScienceWorld.
Dare A. Wells. Theory and Problems of Lagrangian
Dynamics, Mc Graw Hill, 1967

The image is not audit the author of the text, it was taken
and modified for use purely academic with no commercial purpose.
ii
Ibid.
iii
The image is not audit the author of the text, it was taken and modified for use purely academic with no commercial purpose. Image was taken from Dare A. Wells.
Theory and Problems of Lagrangian Dynamics, Mc Graw
Hill, 1967.
iv
Ibid.

ISBN: 978-960-474-260-8

37

You might also like