summaryrefslogtreecommitdiff
path: root/3754/CH9/EX9.6/9_6.sce
blob: ef05f635ec7ba02186e6d657f181558a2052afe2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
clear//

//Variables

VS = 12.0                  //Source Voltage (in volts)
RS = 3.0                   //Source resistance (in ohm)

//Calculation

IS = VS / RS               //Source current (in Ampere)

//Result

printf("\n Current source value is  %0.3f  A.",IS)