summaryrefslogtreecommitdiff
path: root/858/CH1/EX1.7/example_7.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /858/CH1/EX1.7/example_7.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 '858/CH1/EX1.7/example_7.sce')
-rwxr-xr-x858/CH1/EX1.7/example_7.sce16
1 files changed, 16 insertions, 0 deletions
diff --git a/858/CH1/EX1.7/example_7.sce b/858/CH1/EX1.7/example_7.sce
new file mode 100755
index 000000000..1a062897c
--- /dev/null
+++ b/858/CH1/EX1.7/example_7.sce
@@ -0,0 +1,16 @@
+clc
+clear
+
+printf('example 1.7 page number 28 \n\n')
+
+//to find vapor pressure using duhring plot
+
+t1 = 41 //in degree C
+t2=59 //in degree C
+theta_1 =83 //in degree C
+theta_2=100 //in degree C
+
+K = (t1-t2)/(theta_1-theta_2);
+t=59+(K*(104.2-100));
+
+printf ("boiling point of SCl2 at 880 Torr = %f degree celcius",t)