summaryrefslogtreecommitdiff
path: root/2231/CH2/EX2.11/Ex_2_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2231/CH2/EX2.11/Ex_2_11.sce')
-rwxr-xr-x2231/CH2/EX2.11/Ex_2_11.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/2231/CH2/EX2.11/Ex_2_11.sce b/2231/CH2/EX2.11/Ex_2_11.sce
new file mode 100755
index 000000000..c3dd30663
--- /dev/null
+++ b/2231/CH2/EX2.11/Ex_2_11.sce
@@ -0,0 +1,17 @@
+//Example 2_11
+clc;
+clear;close;
+
+//Given data:
+Vs=230;//V
+f=50;//Hz
+alfa=90;//degree
+
+//Solution :
+Vm=Vs*sqrt(2);//V
+Vdc=Vm/%pi*(1+cosd(alfa))//V
+disp(Vdc,"Vdc in V");
+Vrms=Vm/sqrt(2)*sqrt(1/%pi*[%pi-%pi/2+sin(%pi)/2]);//V
+disp(Vrms,"Vrms in V");
+FormFactor=Vrms/Vdc;
+disp(FormFactor,"Form factor");