summaryrefslogtreecommitdiff
path: root/3769/CH5/EX5.37/Ex5_37.sce
blob: 27d4906c9d33f23552712a4018cf404a0e060480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
clear
//Given
R1=2.0                     //ohm
R2=3                         //ohm
R3=2.8
E=6                              //V

//Calculation
Rab=R1*R2/(R1+R2)
Rt=Rab+R3
I=E/Rt
Vab=I*Rab
I1=Vab/2.0

//Result
printf("\n The steady state current is  %0.3f  A", I1)