diff options
Diffstat (limited to '698/CH8/EX8.6/P6_rayleigh_method.sce')
-rw-r--r-- | 698/CH8/EX8.6/P6_rayleigh_method.sce | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/698/CH8/EX8.6/P6_rayleigh_method.sce b/698/CH8/EX8.6/P6_rayleigh_method.sce new file mode 100644 index 000000000..930242940 --- /dev/null +++ b/698/CH8/EX8.6/P6_rayleigh_method.sce @@ -0,0 +1,38 @@ +clc
+//Example 8.6
+// Rayleigh method
+
+//------------------------------------------------------------------------------
+//Given Data:
+
+W1=675
+a11=1.482e-8
+W2=300
+a22=5.799e-8
+a21=3.211e-8
+a12=a21
+
+res6= mopen(TMPDIR+'6_rayleigh_method.txt','wt')
+
+delta1=(W1*a11)+(W2*a12)
+mfprintf(res6,'delta1 = %0.5f rad/s\n',delta1)
+
+delta2=(W2*a22)+(W1*a21)
+mfprintf(res6,'delta2 = %0.5f rad/s\n',delta2)
+
+Sigma_w_delta=(W1*delta1)+(W2*delta2)
+
+Sigma_w_delta2=(W1* delta1^2)+(W2* delta2^2)
+
+wc=sqrt((9.81*Sigma_w_delta)/(Sigma_w_delta2))
+
+mfprintf(res6,'wc= %0.1f rad/s\n',wc)
+
+Nc=(wc*60)/(2*%pi)
+mfprintf(res6,'Nc= %0.1f rad/s',Nc)
+
+mclose(res6);
+editor(TMPDIR+'6_rayleigh_method.txt')
+
+//------------------------------------------------------------------------------
+//--------------------------------End of program--------------------------------
\ No newline at end of file |