summaryrefslogtreecommitdiff
path: root/551/CH5/EX5.25/25.sce
diff options
context:
space:
mode:
Diffstat (limited to '551/CH5/EX5.25/25.sce')
-rwxr-xr-x551/CH5/EX5.25/25.sce11
1 files changed, 11 insertions, 0 deletions
diff --git a/551/CH5/EX5.25/25.sce b/551/CH5/EX5.25/25.sce
new file mode 100755
index 000000000..3185d6c39
--- /dev/null
+++ b/551/CH5/EX5.25/25.sce
@@ -0,0 +1,11 @@
+clc
+R=287; //kJ/kg.K
+dU=0;
+W=0;
+Q=dU+W;
+
+dS=R*log(2); //v2/v1=2
+
+disp("Change in entropy = ")
+disp(dS)
+disp("kJ/kg.K") \ No newline at end of file