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 /779/CH2/EX2.2/2_2.sce | |
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 '779/CH2/EX2.2/2_2.sce')
-rwxr-xr-x | 779/CH2/EX2.2/2_2.sce | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/779/CH2/EX2.2/2_2.sce b/779/CH2/EX2.2/2_2.sce new file mode 100755 index 000000000..15d3d8f23 --- /dev/null +++ b/779/CH2/EX2.2/2_2.sce @@ -0,0 +1,7 @@ +t = poly(0,'t');
+e = (0.2*t)-(5e-04*t^2); // e.m.f. as a function of temperature in mV
+e0 = horner(e, 0); // e.m.f. at t = 0 degree
+e100 = horner(e, 100); // e.m.f. at t = 100 degree
+e50 = horner(e, 50); // e.m.f. at t = 50 degreer
+r = (100/e100)*e50; // Reading of thermocouple at t = 50degree
+disp("degree",r,"Reading of thermocouple at t = 50degree is")
\ No newline at end of file |