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/CH3/EX3.6/Ex3_6.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/CH3/EX3.6/Ex3_6.sce')
-rw-r--r-- | 3532/CH3/EX3.6/Ex3_6.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/3532/CH3/EX3.6/Ex3_6.sce b/3532/CH3/EX3.6/Ex3_6.sce new file mode 100644 index 000000000..9fedb6e9c --- /dev/null +++ b/3532/CH3/EX3.6/Ex3_6.sce @@ -0,0 +1,20 @@ +clc
+clear
+mprintf('Mechanical vibrations by G.K.Grover\n Example 3.6.1\n')
+//given data
+m=5 //mass in spring mass system )in kg)
+k=980//stiffnes of spring in N/m
+u=0.025//coefficient of friction
+g=9.81//acceleration due to gravity
+//calculations
+F=u*m*g//frictional force in N
+Wn=sqrt(k/m)// freq of free oscillations in rad/sec
+fn=Wn/(2*%pi)// freq of free oscillations in Hz
+Ai=0.05//initial amplitude in m
+Ar=0.5*Ai//reduced amplitude in m
+totAreduc=Ai-Ar//total reduction in amp in m
+Areducpercycl=4*F/k //reduction in amplitude/cycle explained in section 3.6.2 in eqn 3.6.6
+n=round(totAreduc/Areducpercycl) //number of cycles for 50% reduction in amplitude
+Treduc=n*(2*%pi/Wn)//time taken to achieve 50%reduction
+//output
+mprintf(' a)The frequency of free oscillations is %4.4f rad/sec or %4.4f Hz\n b)number of cycles taken for 50 percent reduction in amplitude is %1.0f cycles\n c)time taken to achieve 50 percent reduction in amplitude is %4.4f sec',Wn,fn,n,Treduc)
|