summaryrefslogtreecommitdiff
path: root/995/CH2/EX2.16
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /995/CH2/EX2.16
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '995/CH2/EX2.16')
-rwxr-xr-x995/CH2/EX2.16/Ex2_16.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/995/CH2/EX2.16/Ex2_16.sce b/995/CH2/EX2.16/Ex2_16.sce
new file mode 100755
index 000000000..253cf5a61
--- /dev/null
+++ b/995/CH2/EX2.16/Ex2_16.sce
@@ -0,0 +1,11 @@
+//Ex:2.16
+clc;
+clear;
+close;
+temp_coeff=0.0005;//in per degree centigrade
+r_t1=680;//in ohm
+t1=20;//temperature diff.
+t2=90;
+r_o=r_t1/(1+(temp_coeff)*t1);
+r_t2=r_o*(1+(temp_coeff)*t2);
+printf("Resistance at %d degree = %f ohms",t2,r_t2);