summaryrefslogtreecommitdiff
path: root/1319/CH12/EX12.15/i_15.sce
blob: 7a29f4e0f1cf44505ec987f5e5bc308e0ae754d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// To determine the currents in parallel branches of a network.

clc;
clear;

I=40;

R1=20;
R2=60;

//Current Divider equation I1= I*(R2/(R1+R2))

I1=I*(R2/(R1+R2));
I2=I*(R1/(R1+R2));

disp('A',I1,'The Current in the 20 ohm branch =')
disp('A',I2,'The Current in the 60 ohm branch =')