summaryrefslogtreecommitdiff
path: root/978/CH13/EX13.3/Example13_3.sce
blob: 39e6d33a1f2ecbeac4a5e563a8ec410db2663911 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
//chapter-13,Example13_3,pg 510

Vi=12//input DC voltage

Vo=3.182//output voltage

Rg=130*10^3//grounding resistance 

R2=1*10^3//output resistance

R1=6.8*10^3//divider chain

Ig=((Vo-((R2*Vi)/(R1+R2)))/Rg)//grounding loop current

printf("grounding loop current\n")

printf("Ig=%.9f A\n",Ig)