summaryrefslogtreecommitdiff
path: root/2549/CH3/EX3.6.1/Ex3_6_1.sce
blob: 01e7ec97975cb67256cbc956ecb54cbe649ef16e (plain)
1
2
3
4
5
6
7
8
9
10
11
//Ex3.6.1
//calculation of average load voltge bridge rectifier ckt
clc;
clear;
//given
N=1/2;//ratio of no. of turns secondary to primary winding (Ns/Np)
V=230;//input ac voltage
Vs_rms=N*V;//rms secondary voltage
Vm=sqrt(2)*Vs_rms;//peak secondary voltage
Vl_dc=(1/%pi)*integrate('(Vm-1.4)*sin(Wt)','Wt',0,%pi);//(Vm-1.4) (voltage drop across two diode by 1.4V)
disp('Volt',Vl_dc,'Average load voltage is :')