summaryrefslogtreecommitdiff
path: root/995/CH2/EX2.15/Ex2_15.sce
diff options
context:
space:
mode:
Diffstat (limited to '995/CH2/EX2.15/Ex2_15.sce')
-rwxr-xr-x995/CH2/EX2.15/Ex2_15.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/995/CH2/EX2.15/Ex2_15.sce b/995/CH2/EX2.15/Ex2_15.sce
new file mode 100755
index 000000000..f1f2e3d28
--- /dev/null
+++ b/995/CH2/EX2.15/Ex2_15.sce
@@ -0,0 +1,9 @@
+//Ex:2.15
+clc;
+clear;
+close;
+temp_coeff=0.001;//in per degree centigrade
+r_o=1500;//in ohm
+t=80;//temperature diff.
+r_t=r_o*(1+(temp_coeff)*t)
+printf("Resistance at %d degree = %d ohms",t,r_t);