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 --- 2345/CH15/EX15.20/Ex15_20.sce | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 2345/CH15/EX15.20/Ex15_20.sce (limited to '2345/CH15/EX15.20/Ex15_20.sce') diff --git a/2345/CH15/EX15.20/Ex15_20.sce b/2345/CH15/EX15.20/Ex15_20.sce new file mode 100755 index 000000000..10e1de2af --- /dev/null +++ b/2345/CH15/EX15.20/Ex15_20.sce @@ -0,0 +1,9 @@ +//Finding current +//Example 15.20(pg. 405) +clc +clear +//Let current in XA=I, in XY=I1, in AY=I-40, in YB=I-40+I1-60, in BX=I+I1-150. +//By Kirchhoff's second law, in circuit XAYA I-I1=20 +// and in circuit XAYBX 25I+15I1=1950 +I1=(1950-500)/(15+25)//in Amperes +printf('Thus the current in branch XY is I1=%2.2f Amps',I1) -- cgit