summaryrefslogtreecommitdiff
path: root/2345/CH2/EX2.11/Ex2_11.sce
diff options
context:
space:
mode:
Diffstat (limited to '2345/CH2/EX2.11/Ex2_11.sce')
-rwxr-xr-x2345/CH2/EX2.11/Ex2_11.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/2345/CH2/EX2.11/Ex2_11.sce b/2345/CH2/EX2.11/Ex2_11.sce
new file mode 100755
index 000000000..c08774759
--- /dev/null
+++ b/2345/CH2/EX2.11/Ex2_11.sce
@@ -0,0 +1,9 @@
+//Finding temperature coefficient
+//Example 2.11(pg. 25)
+clc
+clear
+R25=50,R70=57.2// resistance in ohms
+t=25,T=70// temp in degree C
+//since Rt=R0(1+(k0*t))
+k0=(R70-R25)/[(R25*T)-(R70*t)]
+printf('The temp coefficient at 0 degree C is %3.3f',k0 )