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.34/Ex1_34.sce | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100755 2672/CH1/EX1.34/Ex1_34.sce (limited to '2672/CH1/EX1.34') diff --git a/2672/CH1/EX1.34/Ex1_34.sce b/2672/CH1/EX1.34/Ex1_34.sce new file mode 100755 index 000000000..40d8c5bed --- /dev/null +++ b/2672/CH1/EX1.34/Ex1_34.sce @@ -0,0 +1,31 @@ +//Example 1_34 +clc; +clear; +close; +format('v',5); +//given data : +V1=48;//V +R1=4;//ohm +R2=20;//ohm +R3=12;//ohm +R4=12;//ohm +V2=12;//V +//Open circuit AB +I1=V1/(R1+R2);//A +I2=V1/(R3+R4);//A +VR1=V1*R1/(R1+R2);//V//across 4 ohm resistance +VR2=V1*R2/(R1+R2);//V//across 20 ohm resistance +VR3=V1*R3/(R3+R4);//V//across 12 ohm resistance +VCE=VR2;//V +VCD=VR3;//V +VBC=V2+VR3;//V +//POtential of A wih respect to B +VOC=VCE-VBC;//V +Rth=R1*R2/(R1+R2)+R3*R4/(R3+R4);//ohm +Ri=Rth;//ohm +RL=Ri;//ohm//For maximum Power transfer +disp(RL,"For maximum Power transfer, RL(ohm)"); +I=VOC/(Rth+RL);//A +PL=I^2*RL;//W +disp(PL,"Value of maximum Power(W)"); +//Answer in the textbook is wrong. -- cgit