summaryrefslogtreecommitdiff
path: root/1076/CH13/EX13.6/13_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1076/CH13/EX13.6/13_6.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1076/CH13/EX13.6/13_6.sce')
-rwxr-xr-x1076/CH13/EX13.6/13_6.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1076/CH13/EX13.6/13_6.sce b/1076/CH13/EX13.6/13_6.sce
new file mode 100755
index 000000000..6fd103a43
--- /dev/null
+++ b/1076/CH13/EX13.6/13_6.sce
@@ -0,0 +1,18 @@
+clear;
+clc
+
+f=50
+xg=1
+xl=.5
+E=1.1
+V=1
+H=5
+p=.5
+
+X=xl+xg
+d0=asin(p)
+Pr=E*V*cos(d0)/X
+M=H/(%pi*f)
+wn=sqrt(Pr/M)/(2*%pi)
+
+mprintf("Freg of oscillation = %.2f Hz", wn)