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 --- 1109/CH12/EX12.27/12_27.sce | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 1109/CH12/EX12.27/12_27.sce (limited to '1109/CH12/EX12.27') diff --git a/1109/CH12/EX12.27/12_27.sce b/1109/CH12/EX12.27/12_27.sce new file mode 100755 index 000000000..d0e4752fe --- /dev/null +++ b/1109/CH12/EX12.27/12_27.sce @@ -0,0 +1,8 @@ +clear; +clc; +V1=6;V2=6;R1=2;R2=1;R3=2; +Y1=1/R1;Y2=1/R2; +Vm=((V1*Y1)+(V2*Y2))/(Y1+Y2); +Zm=1/(Y1+Y2); +I=Vm/(Zm+R3); +printf("Current in resistor R3 = %f Amp",I); -- cgit