diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3532/CH6/EX6.8.2/Ex6_15.sce | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '3532/CH6/EX6.8.2/Ex6_15.sce')
-rw-r--r-- | 3532/CH6/EX6.8.2/Ex6_15.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/3532/CH6/EX6.8.2/Ex6_15.sce b/3532/CH6/EX6.8.2/Ex6_15.sce new file mode 100644 index 000000000..0c16e4d46 --- /dev/null +++ b/3532/CH6/EX6.8.2/Ex6_15.sce @@ -0,0 +1,22 @@ +clc
+clear
+mprintf('Mechanical vibrations by G.K.Grover\n Example 6.8.2\n')
+//given data
+m1=250;m2=100//mass of two blocks in Kgs
+c1=80;c2=60,c=20//damping coefficients in N-sec/m
+F1=1000;F2=1500//amplitude of force acting on block 1 and 2 rsptly
+k=250000//stiffness of spring in N/m
+W=60//frequency of applied force in rad/sec
+//calculations
+M=[m1,0;0,m2];
+K=[k,-k;-k,k];
+C=[c+c1,-c;-c,c+c2];
+R=[F1;F2;0;0];
+X=K-(W^2)*M
+Y=W*C
+G=[X,-Y;Y,X]
+AB=inv(G) *R//from Eqn6.8.4 in Sec 6.8
+X1=sqrt(AB(1,1)^2 +AB(3,1)^2)
+X2=sqrt(AB(2,1)^2 +AB(4,1)^2)
+//output
+mprintf('The amplitude of vibrations are %fm for mass 1 and %fm for mass 2',X1,X2)
|