summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.23/example5_23_TACC.sce
diff options
context:
space:
mode:
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);