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.14/ex2_14.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 2384/CH2/EX2.14/ex2_14.sce (limited to '2384/CH2/EX2.14') diff --git a/2384/CH2/EX2.14/ex2_14.sce b/2384/CH2/EX2.14/ex2_14.sce new file mode 100755 index 000000000..788a27fd5 --- /dev/null +++ b/2384/CH2/EX2.14/ex2_14.sce @@ -0,0 +1,21 @@ +// Exa 2.14 +clc; +clear; +close; +format('v',7) +// Given data +R1 = 5;// in ohm +R2 = 2;// in ohm +R3 = 8;// in ohm +V1 = 20;// in V +V2 = 12;// in V +// V1-R2*I-R1*I = 0; +I = V1/(R1+R2);// in A +// Vth + V2 - R2*I = 0; +Vth = (R2*I) - V2;// in V +Rth = ((R1*R2)/(R1+R2)) + R3;// in ohm +I_N = Vth/Rth;// in A +R_L = 10;// in ohm +// current through 10 ohm resistace +I = (abs(I_N)*Rth)/(Rth+R_L);// in A +disp(I,"The current through 10 ohm resistace in A is"); -- cgit