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 /3137/CH13/EX13.19/Ex13_19.sce | |
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 '3137/CH13/EX13.19/Ex13_19.sce')
-rwxr-xr-x | 3137/CH13/EX13.19/Ex13_19.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/3137/CH13/EX13.19/Ex13_19.sce b/3137/CH13/EX13.19/Ex13_19.sce new file mode 100755 index 000000000..4d5c4f139 --- /dev/null +++ b/3137/CH13/EX13.19/Ex13_19.sce @@ -0,0 +1,16 @@ +//Initilization of variables
+W=12 //oz
+k=2 //oz/in
+M=0.34 //kg
+K=22 //N/m
+g=32.2 //ft/s^2
+//Calculations
+//Part(a)
+a=(k*W*g)/16
+b=W/16
+f=(1/(2*%pi))*(sqrt(a/b)) //Hz for simplicity the numerator and denominator have been computed seperately as a and b
+//Part(b)
+F=(1/(2*%pi))*(sqrt(K/M)) //Hz
+//Result
+clc
+printf('The frequency in part (a) is %f Hz and in part(b) is %f Hz',f,F)
|