summaryrefslogtreecommitdiff
path: root/944/CH5/EX5.8
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.8
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.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);
+
+