summaryrefslogtreecommitdiff
path: root/3816/CH2/EX2.1/2_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3816/CH2/EX2.1/2_1.sce')
-rw-r--r--3816/CH2/EX2.1/2_1.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/3816/CH2/EX2.1/2_1.sce b/3816/CH2/EX2.1/2_1.sce
new file mode 100644
index 000000000..64b76c639
--- /dev/null
+++ b/3816/CH2/EX2.1/2_1.sce
@@ -0,0 +1,19 @@
+clc;
+clear;
+b1=10;//From plot
+b2=31;//From plot
+b3=68;//From plot
+b4=100;//From plot
+b5=100;//From plot
+b6=100;//From plot
+//Case:1
+B1=0.86+5.16+16.72+28.9+32.3+16.7;
+B3=2.36+10.32+16.04+0-23.6-16.7;
+B5=3.23+5.16-16.04-28.9+8.6+16.7;
+B7=3.23-5.16-16.04+28.9+8.6-16.7;
+disp('To find the harmonic components ,mean gap density ,rms value:')
+disp(B7,B5,B3,B1,'The harmonic components are:')
+B8=((2/%pi)*(B1+((1/3)*B3)+((1/5)*B5)+((1/7)*B7)));
+disp(B8,'The mean gap density is :')
+B9=(((1/2)*(((B1)^2)+((B3)^2)+((B5)^2)+((B7)^2)))^(1/2));
+disp(B9,'The rms value is:')