diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /49/CH4/EX4.7 | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '49/CH4/EX4.7')
-rwxr-xr-x | 49/CH4/EX4.7/ex7.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/49/CH4/EX4.7/ex7.sce b/49/CH4/EX4.7/ex7.sce new file mode 100755 index 000000000..728446efc --- /dev/null +++ b/49/CH4/EX4.7/ex7.sce @@ -0,0 +1,23 @@ +//CHAPTER 4_ Motion and Dimensional Measurement
+//Caption : Seismic vibration
+// Example 7// Page 232
+disp("ty=0.6")
+disp("fn=10")
+disp("f=25")
+disp("M=0.15")
+disp("xo=1.5*10^-3")
+ty=0.6 //(' enter the damping ratio of seismic vibration pickup=:')
+fn=10 //('enter the natural frequency =:')
+f=25 //('enter the frequency at which the table is vibrating=')
+M=0.15 //( 'enter the seismic mass=:')
+xo=1.5*10^-3 //('enter the relative amplitude of the mass=:')
+r=f/fn;
+disp("xi=xo/((r^2)/sqrt((1-r^2)^2+(2*ty*r)^2));")
+xi=xo/((r^2)/sqrt((1-r^2)^2+(2*ty*r)^2));
+error=(xi-xo)/xo;
+printf('error in measurement is %fd\n',error)
+wn=2*%pi*fn;
+Ks=wn^2*M;
+printf('spring constant is %fd N/m\n',Ks)
+B=ty*(2*sqrt(Ks*M));
+printf(' damping coefficient of pickup is %fdN-s/m\n',B)
\ No newline at end of file |