summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.8
diff options
context:
space:
mode:
Diffstat (limited to '944/CH5/EX5.8')
-rwxr-xr-x944/CH5/EX5.8/example5_8_TACC.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/944/CH5/EX5.8/example5_8_TACC.sce b/944/CH5/EX5.8/example5_8_TACC.sce
new file mode 100755
index 000000000..b663828b8
--- /dev/null
+++ b/944/CH5/EX5.8/example5_8_TACC.sce
@@ -0,0 +1,17 @@
+//example 5.8
+
+clear;
+clc;
+
+//Given:
+T1=298;//Initial Temperature[K]
+T2=573;//Final Temperature[K]
+Cv=29.1;//Specific Heat capacity of argon gas [J/K/mol]
+n=1;//no. of moles
+
+
+//To find the change in entropy for argon gas
+S=n*Cv*log(T2/T1);//Change in entropy [J/K]
+printf("The change in entropy of the argon gas is %f J/K",S);
+
+