summaryrefslogtreecommitdiff
path: root/3718/CH3/EX3.1/Ex3_1.sce
diff options
context:
space:
mode:
Diffstat (limited to '3718/CH3/EX3.1/Ex3_1.sce')
-rw-r--r--3718/CH3/EX3.1/Ex3_1.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3718/CH3/EX3.1/Ex3_1.sce b/3718/CH3/EX3.1/Ex3_1.sce
new file mode 100644
index 000000000..654db409a
--- /dev/null
+++ b/3718/CH3/EX3.1/Ex3_1.sce
@@ -0,0 +1,12 @@
+//Chapter 3: Thermodynamic and Chemical Equilibrium
+//Problem: 1
+clc;
+
+//Declaration of Variables
+q = 120 // Heat from surrounding, cal
+W = 70 // Work done, cal
+
+// Solution
+delta_E = q - W
+
+mprintf("Change in Internal Energy :%d cals", delta_E)