From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 914/CH14/EX14.7/ex14_7.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100755 914/CH14/EX14.7/ex14_7.sce (limited to '914/CH14/EX14.7') 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"); + + -- cgit