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 /914/CH14/EX14.7 | |
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 '914/CH14/EX14.7')
-rwxr-xr-x | 914/CH14/EX14.7/ex14_7.sce | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/914/CH14/EX14.7/ex14_7.sce b/914/CH14/EX14.7/ex14_7.sce new file mode 100755 index 000000000..e207072f5 --- /dev/null +++ b/914/CH14/EX14.7/ex14_7.sce @@ -0,0 +1,20 @@ +clc;
+warning("off");
+printf("\n\n example14.7 - pg736");
+// given
+beta0=-6.301289;
+beta1=1853.374;
+clf;
+xtitle("Temperature variation of the viscosity of water","(1/T)*10^3,K^-1","viscosity,cP");
+x=[2.2,0.2,3.8]';
+y=[(beta0+beta1*x)];
+plot2d(x,y);
+// at T=420;
+T=420; //[K]
+x=1/T;
+y=beta0+beta1*x;
+mu=exp(y);
+printf("\n\n mu=%fcP",mu);
+printf("\n\n The error is seen to be 18 percent.AT midrange 320(K), the error is approximately 4 percent");
+
+
|