diff options
Diffstat (limited to '3835/CH2/EX2.17/Ex2_17.sce')
-rw-r--r-- | 3835/CH2/EX2.17/Ex2_17.sce | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/3835/CH2/EX2.17/Ex2_17.sce b/3835/CH2/EX2.17/Ex2_17.sce new file mode 100644 index 000000000..5ed0fff9c --- /dev/null +++ b/3835/CH2/EX2.17/Ex2_17.sce @@ -0,0 +1,12 @@ +clear +// +//the currents are obtained by solving the eqns +i1=5.87 +i2=-0.13 +i3=-1.54 +v=18-1.54*8 +printf("\n voltage at node D= %0.1f v",v) +i=5.86/(4) +printf("\n current in 4 ohm resistor is= %0.1f A",i) +power=18*1.54 +printf("\n power supplied by 18V source is= %0.1f W",power) |