summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.31/Ex5_31.sce
blob: 010ce40ccf00e046aaf53d7aa048103e33a5bccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
clear
//Given
R1=5                 //ohm
R2=9                  //ohm
R3=14                  //ohm
R4=11
R5=7
R6=18
R7=13
R8=22
V=22

//Calculation
Rec=(R1+R2)*R3/(R1+R2+R3)
Rbe=(R4+R5)*R6/(R4+R5+R6)
Rae=(R7+R2)*R8/(R7+R2+R8)
I=V/Rae

//Result
printf("\n The value of current in the branch AF is  %0.3f  A", I)