summaryrefslogtreecommitdiff
path: root/226/CH3/EX3.4/example4_sce.sce
blob: ba96b9ce405ff98055d03f5d962341e42cc09e24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
//chapter 3
//example 3.4
//page 84
printf("\n")
printf("given")
Eo=20;Rl=500;f=60;
Vr=(10*Eo)/100//10% of Eo
Il=Eo/Rl
T=1/f;
t1=T
C1=((Il*t1)/Vr)*10^6;
printf("reservior capacitance is %duF\n",C1)