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 --- 608/CH3/EX3.03/3_03.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 608/CH3/EX3.03/3_03.sce (limited to '608/CH3/EX3.03') diff --git a/608/CH3/EX3.03/3_03.sce b/608/CH3/EX3.03/3_03.sce new file mode 100755 index 000000000..028ba8c1f --- /dev/null +++ b/608/CH3/EX3.03/3_03.sce @@ -0,0 +1,14 @@ +//Problem 3.03: A wire of length 8 m and cross-sectional area 3 mm2 has a resistance of 0.16 ohms. If the wire is drawn out until its crosssectional area is 1 mm2, determine the resistance of the wire. + +//initializing the variables: +R = 0.16; // in ohms +A = 3; // in mm2 +L = 8; // in m +A1 = 1; // in mm2 + +//calculation: +L1 = L*3 +R1 = R*A*L1/(A1*L) + +printf("\n\nResult\n\n") +printf("\nResistance %.2f Ohms\n",R1) -- cgit