diff options
Diffstat (limited to '2231/CH2/EX2.1/Ex_2_1.sce')
-rwxr-xr-x | 2231/CH2/EX2.1/Ex_2_1.sce | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/2231/CH2/EX2.1/Ex_2_1.sce b/2231/CH2/EX2.1/Ex_2_1.sce new file mode 100755 index 000000000..3820625e1 --- /dev/null +++ b/2231/CH2/EX2.1/Ex_2_1.sce @@ -0,0 +1,18 @@ +//Example 2_1
+clc;
+clear;close;
+
+//Given data:
+Vin=400;//V
+alfa=30;//degree
+R=50;//ohm
+
+//Solution :
+Vdc=Vin/%pi/2*(1+cosd(alfa));//V
+disp(Vdc,"Average load voltage(V) : ");
+I=Vdc/R;//A
+disp(I,"Average load current(A) : ");
+Vrms=Vin*sqrt((180-alfa)/4/180+sind(2*alfa)/8/%pi);//V
+disp(Vrms,"rms load voltage(V) : ");
+Irms=Vrms/R;//A
+disp(Irms,"rms load current(A) : ");
|