summaryrefslogtreecommitdiff
path: root/569/CH4/EX4.21
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /569/CH4/EX4.21
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 '569/CH4/EX4.21')
-rwxr-xr-x569/CH4/EX4.21/4_21.sci10
1 files changed, 10 insertions, 0 deletions
diff --git a/569/CH4/EX4.21/4_21.sci b/569/CH4/EX4.21/4_21.sci
new file mode 100755
index 000000000..5c235f7dd
--- /dev/null
+++ b/569/CH4/EX4.21/4_21.sci
@@ -0,0 +1,10 @@
+// determine damping ratio
+clc;
+w=2;
+K=1.5;
+J=200*10^-3;
+wn=(K/J)^0.5;
+u=w/wn;
+M=1.1;
+eta=[{[1/(M^2)]-[(1-u^2)^2]}/(2*u)^2]^0.5;
+disp(eta,'damping ratio=') \ No newline at end of file