diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /569/CH5/EX5.18/5_18.sci | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '569/CH5/EX5.18/5_18.sci')
-rwxr-xr-x | 569/CH5/EX5.18/5_18.sci | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/569/CH5/EX5.18/5_18.sci b/569/CH5/EX5.18/5_18.sci new file mode 100755 index 000000000..4e56b65e2 --- /dev/null +++ b/569/CH5/EX5.18/5_18.sci @@ -0,0 +1,10 @@ +// Calculate the resistance and the temperature
+clc;
+Rth0=100;
+ath0=0.00392;
+dth=65-25;
+R65=Rth0*[1+ath0*dth];
+disp(R65,'resistance at 65 degree C(ohm)=')
+
+th={[(150/100)-1]/ath0}+25;
+disp(th,'Temperature (degree C)')
\ No newline at end of file |