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.11/3_11.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 608/CH3/EX3.11/3_11.sce (limited to '608/CH3/EX3.11/3_11.sce') diff --git a/608/CH3/EX3.11/3_11.sce b/608/CH3/EX3.11/3_11.sce new file mode 100755 index 000000000..6d5575e3a --- /dev/null +++ b/608/CH3/EX3.11/3_11.sce @@ -0,0 +1,14 @@ +//Problem 3.11: A coil of copper wire has a resistance of 10 ohms at 20°C. If the temperature coefficient of resistance of copper at 20°C is 0.004/°C determine the resistance of the coil when the temperature rises to 100°C. + +//initializing the variables: +R20 = 10; // in ohms +T0 = 20; // in °C +T1 = 100; // in °C +a20 = 0.004; // in per°C +pi = 3.14; + +//calculation: +R100 = R20*[1 + (a20)*(T1 - T0)] + +printf("\n\nResult\n\n") +printf("\nresistance %.1f Ohm\n",R100) \ No newline at end of file -- cgit