summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.23/example5_23_TACC.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /944/CH5/EX5.23/example5_23_TACC.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 '944/CH5/EX5.23/example5_23_TACC.sce')
-rwxr-xr-x944/CH5/EX5.23/example5_23_TACC.sce13
1 files changed, 13 insertions, 0 deletions
diff --git a/944/CH5/EX5.23/example5_23_TACC.sce b/944/CH5/EX5.23/example5_23_TACC.sce
new file mode 100755
index 000000000..1d7f9a995
--- /dev/null
+++ b/944/CH5/EX5.23/example5_23_TACC.sce
@@ -0,0 +1,13 @@
+//example 5.23
+
+clear;
+clc;
+
+//Given:
+a=1.39*10^-2;//constant for a vanderwaal's gas[lit2.atm/mol2]
+b=3.92*10^-2;//constant for a vanderwaal's gas[lit2.atm/mol2]
+R=0.082;//Universal gas constant[lit.atm/deg/mol]
+
+//To find the value of the inversion temperature for the gas
+Ti=(2*a)/(R*b);//inversion temperature [K]
+printf("The inversion temperature for the gas is %f K",Ti);