summaryrefslogtreecommitdiff
path: root/2231/CH2/EX2.25/Ex_2_25.sce
diff options
context:
space:
mode:
Diffstat (limited to '2231/CH2/EX2.25/Ex_2_25.sce')
-rwxr-xr-x2231/CH2/EX2.25/Ex_2_25.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/2231/CH2/EX2.25/Ex_2_25.sce b/2231/CH2/EX2.25/Ex_2_25.sce
new file mode 100755
index 000000000..a93c45c9a
--- /dev/null
+++ b/2231/CH2/EX2.25/Ex_2_25.sce
@@ -0,0 +1,15 @@
+//Example 2_25
+clc;
+clear;close;
+
+//Given data:
+Vs=400;//V
+f=50;//Hz
+Eb=300;//V
+
+//Solution :
+Vdc=Eb;//V
+Vm=Vs*sqrt(2);//V
+//Vdc=3*sqrt(3)/2/%pi*Vm*cosd(alfa);//V
+alfa=acosd(Vdc/(3*sqrt(3)/2/%pi*Vm));//degree
+disp(alfa,"Firing angle(degree)");