summaryrefslogtreecommitdiff
path: root/3835/CH2/EX2.24/Ex2_24.sce
diff options
context:
space:
mode:
Diffstat (limited to '3835/CH2/EX2.24/Ex2_24.sce')
-rw-r--r--3835/CH2/EX2.24/Ex2_24.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3835/CH2/EX2.24/Ex2_24.sce b/3835/CH2/EX2.24/Ex2_24.sce
new file mode 100644
index 000000000..511be7370
--- /dev/null
+++ b/3835/CH2/EX2.24/Ex2_24.sce
@@ -0,0 +1,9 @@
+clear
+//
+//using thevenin's theorem
+//applying kcl at node a va is obtained
+va=12
+vth=12-1.2*3 //voltage eqn
+rth=1.33 //2||4
+i5=vth/(rth+5)
+printf("\n current through 5 ohm resistor is= %0.1f A",i5)