summaryrefslogtreecommitdiff
path: root/2492/CH3/EX3.7/ex3_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2492/CH3/EX3.7/ex3_7.sce
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 '2492/CH3/EX3.7/ex3_7.sce')
-rwxr-xr-x2492/CH3/EX3.7/ex3_7.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/2492/CH3/EX3.7/ex3_7.sce b/2492/CH3/EX3.7/ex3_7.sce
new file mode 100755
index 000000000..0aabe0d72
--- /dev/null
+++ b/2492/CH3/EX3.7/ex3_7.sce
@@ -0,0 +1,22 @@
+// Exa 3.7
+format('v',6)
+clc;
+clear;
+close;
+// Given data
+Vm = 20;// in V
+Idc = 100;// in mA
+Idc = Idc * 10^-3;// in A
+R_S = 5;// in ohm
+R_F = 2;// in ohm
+Vdc = ((2*sqrt(2)*Vm)/%pi) - Idc*(R_S+2*R_F);// in V
+disp(Vdc,"The output dc voltage at dc load current of 100 mA in V is");
+Idc = 200;// in mA
+Idc = Idc * 10^-3;// in A
+Vdc = ((2*sqrt(2)*Vm)/%pi) - Idc*(R_S+2*R_F);// in V
+R_L = Vdc/Idc;// in ohm
+// The percentage regulaiton
+Per_reg = ((2*R_F+R_S)/R_L)*100;// in %
+disp(Per_reg,"The percentage regulation for a full load dc current of 200 mA in % is");
+Eta = round((8/(%pi^2)) * ( R_L/(2*R_F+R_S+R_L) )*100);// in %
+disp(Eta,"The efficiency of the rectifier in % is");