diff options
Diffstat (limited to '608/CH3/EX3.11/3_11.sce')
-rwxr-xr-x | 608/CH3/EX3.11/3_11.sce | 14 |
1 files changed, 14 insertions, 0 deletions
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 |