summaryrefslogtreecommitdiff
path: root/569/CH4/EX4.21/4_21.sci
diff options
context:
space:
mode:
Diffstat (limited to '569/CH4/EX4.21/4_21.sci')
-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