summaryrefslogtreecommitdiff
path: root/3673/CH3/EX3.4/Ex3_4.sce
diff options
context:
space:
mode:
Diffstat (limited to '3673/CH3/EX3.4/Ex3_4.sce')
-rw-r--r--3673/CH3/EX3.4/Ex3_4.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/3673/CH3/EX3.4/Ex3_4.sce b/3673/CH3/EX3.4/Ex3_4.sce
new file mode 100644
index 000000000..64111e5d6
--- /dev/null
+++ b/3673/CH3/EX3.4/Ex3_4.sce
@@ -0,0 +1,13 @@
+//Example 3_4 page no:118
+clc
+//to find Vth and Rth
+R1=10//resistance in ohm
+R2=5//resistance in ohm
+V=50//source voltage
+I=25/15//current flowing in the circuit
+V1=I*10//voltage across 10 ohm resistor
+V2=I*5//voltage across 5 ohm resistor
+Vth=V-V1;
+disp(Vth,"the thevenin voltage is (in volt)")
+Rth=(R1*R2)/(R1+R2);
+disp(Rth,"the thevenin resistance is (in ohm)")