summaryrefslogtreecommitdiff
path: root/599/CH6/EX6.6/example6_6.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /599/CH6/EX6.6/example6_6.sce
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 '599/CH6/EX6.6/example6_6.sce')
-rwxr-xr-x599/CH6/EX6.6/example6_6.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/599/CH6/EX6.6/example6_6.sce b/599/CH6/EX6.6/example6_6.sce
new file mode 100755
index 000000000..729b6d22a
--- /dev/null
+++ b/599/CH6/EX6.6/example6_6.sce
@@ -0,0 +1,24 @@
+
+clear;
+clc;
+printf("\t Example 6.6\n");
+ //wooden cloth is dried from 100 to 10 and then th efinal moisture content is changed to 16 percent from 10;
+
+Xcr=0.55; //crtical moisture content
+X1=1; //moisture content on dry basis intially
+X2=.1; //moisture content on dry basis finally after drying
+Xbar=.06; //equillibrium moisture
+ //since eqn 1 is tobe divided by eqn 2 so let the value of Ls/A*Nc be = 1 as it will be cancelled
+p=1; //let Ls/A*Nc be =p
+p=poly([0],'p'); //calc. of time 1
+tbar=1; //since the eqns are independent of tbar
+t1=roots(tbar- p*((X1-Xcr)+(Xcr-Xbar)*log((Xcr-Xbar)/(X2-Xbar)))); //------eqn1
+X2bar=.16;
+p=poly([0],'p'); //calc. of time 2
+t2=roots(tbar- p*((X1-Xcr)+(Xcr-Xbar)*log((Xcr-Xbar)/(X2bar-Xbar))));//------eqn2
+
+ //let t1/t2 be = k
+k=t1/t2;
+ans=1/k-1; //reduction in time for drying
+printf("\n the reduction in time for drying is :%f percent",ans*100);
+//end \ No newline at end of file