summaryrefslogtreecommitdiff
path: root/3532/CH5/EX5.3/Ex5_3.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3532/CH5/EX5.3/Ex5_3.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-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/CH5/EX5.3/Ex5_3.sce')
-rw-r--r--3532/CH5/EX5.3/Ex5_3.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/3532/CH5/EX5.3/Ex5_3.sce b/3532/CH5/EX5.3/Ex5_3.sce
new file mode 100644
index 000000000..4cfe37007
--- /dev/null
+++ b/3532/CH5/EX5.3/Ex5_3.sce
@@ -0,0 +1,18 @@
+clc
+clear
+mprintf('Mechanical vibrations by G.K.Grover\n Example 5.3.2\n')
+//given data
+m1=5*0.75//mass of rod 1 in kgs
+m2=5*1.00//mass of rod 2 in kgs
+l1=0.75//lenght of rod 1 in m
+l2=1.00//lenght of rod 2 in m
+K=2940//stiffness of spring in N/m
+//calculations
+Wn=sqrt(3*(m1+m2)*K/(m1*m2))//natural frequency in rad/sec
+fn=Wn/(2*%pi)//natural frequency in Hz as solved in the textbook itself
+b1=(K*l2)
+b2=(K*l1-m1*l1*Wn^2/3)
+x=(b2/b1)
+Fmax=K*(l1*1-l2*x)/57.3//to convert into radians
+//output
+mprintf('The frequency of the resulting vibrations if the efect of gravity\n is neglected is %4.4f rad/sec or %4.4f Hz.\n The angular movement of CD is %3.3f degrees(out of phase) \n with the movement of AB.\n The maximum force in the spring is %4.4f N',Wn,fn,x,Fmax)