From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2297/CH2/EX2.5/Ex2_5.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 2297/CH2/EX2.5/Ex2_5.sce (limited to '2297/CH2/EX2.5') diff --git a/2297/CH2/EX2.5/Ex2_5.sce b/2297/CH2/EX2.5/Ex2_5.sce new file mode 100755 index 000000000..f87c876a5 --- /dev/null +++ b/2297/CH2/EX2.5/Ex2_5.sce @@ -0,0 +1,20 @@ +// Example 2.5 :Thevenin's and Norton's Equivalent +clc; +close; +format('v',7) +clear; +// given : +vs1=10;//voltage in volts +R1=50;//resistance in ohms +R2=50;//resistance in ohms +R3=25;//resistance in ohms +disp("(a) Applying Thevenins Theorem ") +voc=(R1/(R1+R2))*vs1;//voltage in volts +req=((R1*R2)/(R1+R2))+R3;//resistance in ohms +disp(voc,"Thevenin equivalent open circuit voltage is, (V)=") +disp(t=req,"Thevenin equivalent resistance is,(Ohm)=") +disp("(b) Applying Nortons Theorem ") +Isc=((vs1)/(R1+(R1*R3)/(R1+R3)))*(R1/(R1+R3));// +req=((R1*R2)/(R1+R2))+R3;//resistance in ohms +disp(Isc,"Norton short circuit current is,(A)=") +disp(t=req,"Norton equivalent resistance is,(Ohm)=") -- cgit