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 --- 2672/CH1/EX1.22/Ex1_22.sce | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 2672/CH1/EX1.22/Ex1_22.sce (limited to '2672/CH1/EX1.22') diff --git a/2672/CH1/EX1.22/Ex1_22.sce b/2672/CH1/EX1.22/Ex1_22.sce new file mode 100755 index 000000000..ab79e5eea --- /dev/null +++ b/2672/CH1/EX1.22/Ex1_22.sce @@ -0,0 +1,28 @@ +//Example 1_22 +clc; +clear; +close; +format('v',6); +//given data : +V1=24;//V +V2=12;//V +R1=4;//ohm +R2=5;//ohm +R3=3;//ohm +R4=5;//ohm +R5=3;//ohm +RL=10;//ohm +//Open circuit AB +I=V1/(R1+R2+R3);//A +//Potential of point A +VBQ=0;//V//there is no current +VPS=0;//V//there is no current +VQP=I*(R2+R3);//V +VSA=V2;//V +//Potential of point A with respect to B +VAB=VBQ+VQP+VPS-VSA;//V +VOC=VAB;//V +Req=R1*(R2+R3)/(R1+R2+R3)+R4+R5;//ohm +//Thevenin equivalent current +I=VOC/(Req+RL);//A +disp(I,"Current flowing through load resistance(A)"); -- cgit