summaryrefslogtreecommitdiff
path: root/3835/CH1/EX1.22/Ex1_22.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH1/EX1.22/Ex1_22.sce')
-rw-r--r--3835/CH1/EX1.22/Ex1_22.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/3835/CH1/EX1.22/Ex1_22.sce b/3835/CH1/EX1.22/Ex1_22.sce
new file mode 100644
index 000000000..262a7da83
--- /dev/null
+++ b/3835/CH1/EX1.22/Ex1_22.sce
@@ -0,0 +1,11 @@
+clear
+//
+//applying kcl to circuit at node b i3+i4=6-4=2
+vb=8
+vba=2 //voltage drop across nodes b and a
+va=6 //potential of node a w.r.t note c
+i2=3
+//applying kcl to node a
+isa=1
+vs=va+2*isa
+printf("\n vse= %0.1f V",vs)