summaryrefslogtreecommitdiff
path: root/608/CH3/EX3.08
diff options
context:
space:
mode:
Diffstat (limited to '608/CH3/EX3.08')
-rwxr-xr-x608/CH3/EX3.08/3_08.sce14
1 files changed, 14 insertions, 0 deletions
diff --git a/608/CH3/EX3.08/3_08.sce b/608/CH3/EX3.08/3_08.sce
new file mode 100755
index 000000000..a38d5e3eb
--- /dev/null
+++ b/608/CH3/EX3.08/3_08.sce
@@ -0,0 +1,14 @@
+//Problem 3.08: A coil of copper wire has a resistance of 100 ohms when its temperature is 0°C. Determine its resistance at 70°C if the temperature coefficient of resistance of copper at 0°C is 0.0043/°C
+
+//initializing the variables:
+R0 = 100; // in ohms
+T0 = 0; // in °C
+T1 = 70; // in °C
+a0 = 0.0043; // in per°C
+pi = 3.14;
+
+//calculation:
+R70 = R0*[1 + (a0*T1)]
+
+printf("\n\nResult\n\n")
+printf("\nresistance %.1f Ohm\n",R70) \ No newline at end of file