summaryrefslogtreecommitdiff
path: root/2231/CH4/EX4.4
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2231/CH4/EX4.4
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2231/CH4/EX4.4')
-rwxr-xr-x2231/CH4/EX4.4/Ex_4_4.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/2231/CH4/EX4.4/Ex_4_4.sce b/2231/CH4/EX4.4/Ex_4_4.sce
new file mode 100755
index 000000000..ac1b64e33
--- /dev/null
+++ b/2231/CH4/EX4.4/Ex_4_4.sce
@@ -0,0 +1,24 @@
+//Example 4_4
+clc;
+clear;close;
+
+//Given data:
+V=200;//V
+RL=8;//ohm
+Vthy=2;//V
+f=800;//Hz
+alfa=0.4;//duty cycle
+
+//Solution :
+Vav=alfa*(V-Vthy);//V
+disp(Vav,"(a) Average output voltage(V)");
+VL=sqrt(alfa)*(V-Vthy);//V
+disp(VL,"(b) RMS output voltage(V)");
+Pout=VL^2/RL;//W
+Pin=alfa*V*(V-Vthy)/RL;//W
+Eff=Pout/Pin*100;//%
+disp(Eff,"(c) Chopper efficiency(%)");
+Rin=RL/alfa;//ohm
+disp(Rin,"(d) Input resistance(ohm)");
+V1=(V-Vthy)*sqrt(2)/%pi;//V
+disp(V1,"(e) RMS value of fundamental component(V)");