Professional Documents
Culture Documents
ME (Design) Subject: VNC Assignment No: 4
ME (Design) Subject: VNC Assignment No: 4
Subject: VNC
Assignment No: 4
Consider the system with two masses represented in following figure. Calculate the response of
the system to the initial condition. Let c1= c2=c3=0, m1=5kg, m2=10kg, k1=2N/m, k2=2N/m,
k3=4N/m.
Fig1: Mode shape for two degree of freedom
Substituting values of c1= c2=c3=0, m1=5kg, m2=10kg, k1=2N/m, k2=2N/m, k3=4N/m in
above equation
Solution:
Eigen value problem is defined as Au u =
Generalized eigen value problem is Ku Mu =
[V,D]=eig(A)
[V,D]=eig(K,M)
m=[5,0;0,10]; k=[4 -2;-2 6]; [V,D]=eig(K,M)
function [u,wn]=eigsort(K,m);
Omega=sqrt(eig(K,M));
[Vtem,D]=eig(K,M);
[wn, sort]=sort(Omega);
il=length(wn);
for i=1:il
V(:,i)=Vtem(:,isort(i));
end
disp(The natural frequency are (rad/sec));
disp()
wn
disp()
disp(The eigen vector of the system are);
V
Output:
The two natural frequency are w1=0.6325 rad/sec, w2=1 rad/sec
The eigen vectors are u1=
1 1
1 , 2
1 0.5
u u
= =
` `
) )
Fig2: Mode shape for two degree of freedom