summaryrefslogtreecommitdiff
path: root/2492/CH3/EX3.7/ex3_7.sce
blob: 0aabe0d72a7994b41e6014e31a2458e7ef5cb802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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");