Sei sulla pagina 1di 2

In[1611]:=

"Programmer: Hemanta Bhattarai" "Institution: CDP, TU" "Problem: Classical Mechanics ,Goldstein, Third Edition, Chapter 6 Problem 13 pg.274" "Date: 2013 Feb 8" ClearAll k, l, q l a; q q; m 1 m; m 2 m; k k; The Kinetic Energy of the system where m are masses and x are extensions T 1 2 m 1 x 1 ^2 m 2 x 2 ^2 ; Potential energy of the system including electrostatic potential energy V 1 2 k x 1 ^2 x 2 x 1 ^2 x 2 ^2 q^2 x 2 x 1 l ; Tij matrix Tij Table D T, x i , x j , i, 1, 2 , j, 1, 2 ; Vij matrix Vij Table D V, x i , x j , i, 1, 2 , j, 1, 2 ; Secular matrix with Tij and Vij determined at initial equlibrium position fx Tij Vij . x 2 x 1 0 ; d Det fx ; frequencies of oscillation omga Solve d 0, Simplify; g1 g2 fx . omga fx . omga 1 2 ; ;

Determining the value of a 's for each mode of oscillation eq1 Table g1 i . a 1 , a 2 , i, 1, 2 ; sol1 Solve eq1 1 0, eq1 2 0, m 1 a 1 ^ 2 m 2 a 2 ^ 2 eq2 Table g2 i . a 1 ,a 2 1 0, eq2 , i, 1, 2 2 ; m 2 a 2 ^2 " "

1 , a 1 ,a 2

sol2 Solve eq2 " " "The KE term is" T "The PE term is" V

0, m 1 a 1 ^ 2

1 , a 1 ,a 2

"The secular equation is: where ^2" d 0 "The square of modes of frequency is i.e ^2" omga N "The first set of a's for first frequency " sol1 2 N "The second a's are for second frequency " sol2 2 N " " " "

Out[1611]= Out[1612]= Out[1613]= Out[1614]= Out[1633]= Out[1634]=

Programmer: Hemanta Bhattarai Institution: CDP, TU Problem: Classical Mechanics ,Goldstein, Third Edition, Chapter 6 Problem 13 pg.274 Date: 2013 Feb 8

three-mass-spring-goldstein-with_charge.txt.nb

Out[1635]=

The KE term is 1 mx 1 2
2

Out[1636]=

mx 2

Out[1637]=

The PE term is q2 1 k x 1 a x 1 x 2 2 ^2
2 2 2

Out[1638]=

x 2

x 1

x 2

Out[1639]=

The secular equation is: where 3 k2 4 k q2 4km a3 a3 4 m q2 m2


2

Out[1640]=

Out[1641]=

The square of modes of frequency is i.e ^2 k 3. a3 k , m a3 m The first set of a's for first frequency 0.707107 0.707107 , a 2. m m a 1. 4. q2

Out[1642]=

Out[1643]=

Out[1644]=

Out[1645]=

The second a's are for second frequency 0.707107 0.707107 , a 2. m m a 1.

Out[1646]=

Out[1647]= Out[1648]=

Potrebbero piacerti anche