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 --- 2384/CH2/EX2.11/ex2_11.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 2384/CH2/EX2.11/ex2_11.sce (limited to '2384/CH2/EX2.11/ex2_11.sce') diff --git a/2384/CH2/EX2.11/ex2_11.sce b/2384/CH2/EX2.11/ex2_11.sce new file mode 100755 index 000000000..b653481b3 --- /dev/null +++ b/2384/CH2/EX2.11/ex2_11.sce @@ -0,0 +1,20 @@ +// Exa 2.11 +clc; +clear; +close; +format('v',4) +// Given data +R1 = 4;// in ohm +R2 = 3;// in ohm +R3 = 2;// in ohm +R_L = 5;// in ohm +I = 6;// in A +V = 15;// in V +// V-R1*I1-R3*(I1+I) = 0; +I1 = (V-R3*I)/(R1+R3);// in A +I = I1 + I;// in A +Vth = R3*I;// in V +Rth = ((R1*R3)/(R1+R3)) + R2;// in ohm +// current in 5 ohm resistance +I_L = Vth/(Rth+R_L);// in A +disp(I_L,"The current in 5 ohm resistance in A is"); -- cgit