summaryrefslogtreecommitdiff
path: root/3835/CH2/EX2.18/Ex2_18.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH2/EX2.18/Ex2_18.sce')
-rw-r--r--3835/CH2/EX2.18/Ex2_18.sce6
1 files changed, 6 insertions, 0 deletions
diff --git a/3835/CH2/EX2.18/Ex2_18.sce b/3835/CH2/EX2.18/Ex2_18.sce
new file mode 100644
index 000000000..9afc2546b
--- /dev/null
+++ b/3835/CH2/EX2.18/Ex2_18.sce
@@ -0,0 +1,6 @@
+clear
+//
+//node eqns are obtained form the figure
+printf("\n va=8.33V and vb=4.17V")
+i=8.33/(8)
+printf("\n current through 8 ohm resistor is= %0.1f A",i)