blob: 25aacf20a123f1f618bb6a71f933718e4f4ab9d2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
clear//
//Variables
IT = 750 //Current (in milli-Ampere)
I1 = 200 //Current (in milli-Ampere)
I3 = 150 //Current (in milli-Ampere)
//Calculation
I2 = IT - (I1 + I3) //Current through R2 (in milli-Ampere)
//Result
printf("\n Current drawn by R2 branch is %0.3f mA.",I2)
|