summaryrefslogtreecommitdiff
path: root/1964/CH12/EX12.11/ex12_11.sce
blob: e03e3e609847d128ee54b6a3ae5718b6cce4aebe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//Chapter-12, Example 12.11, Page 353
//=============================================================================
clc
clear
//INPUT DATA
V=10;//output voltage in V
Il=200*10^-3;//load current in A
ripplefactor=0.02;
//CALCULATIONS
Rl=V/(Il);//resistance in ohms
//if we assume L=10H and C1=C2=C
L=10;//indcutance in henry 
C=sqrt(5700/(L*50*ripplefactor));
mprintf("the values of L and C for CLC section are %d H and %1.0f uF respectively",L,C)
//=================================END OF PROGRAM=======================================================================================================