blob: 80d0971521696c84af8cbf8ce676bef3261062b4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
clear//
//Variables
IT = 20 //Total current (in milli-Ampere)
I2 = 4 //Current (in milli-Ampere)
//Calculation
I1 = IT - I2 //Current (in milli-Ampere)
//Result
printf("\n Value of the current I1 is %0.3f mA.",I1)
|