summaryrefslogtreecommitdiff
path: root/944/CH3/EX3.3/example3_3_TACC.sce
diff options
context:
space:
mode:
Diffstat (limited to '944/CH3/EX3.3/example3_3_TACC.sce')
-rwxr-xr-x944/CH3/EX3.3/example3_3_TACC.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/944/CH3/EX3.3/example3_3_TACC.sce b/944/CH3/EX3.3/example3_3_TACC.sce
new file mode 100755
index 000000000..bed7e2a68
--- /dev/null
+++ b/944/CH3/EX3.3/example3_3_TACC.sce
@@ -0,0 +1,21 @@
+//example 3.3
+
+clear;
+clc;
+
+//given:
+H=29.2;//latent heat of vaporisation[KJ/mol]
+T=332;//temperature of the system[K]
+R=8.314;//universal gas constant [J/K/mol]
+
+
+//to find Q,W,U for 1 mole of bromine vaporizes
+//where Q is heat absorbed or evolved
+//W is the work done by system
+//U is the change in internak energy
+Qp=H;//at constant pressure [KJ]
+W=-R*0.001*T;//workdone [KJ]
+U=Qp+W;//change in internal energy[KJ]
+printf("heat absorbed by the bromine vapours is %f KJ",Qp);
+printf("\nworkdone during the process is %f KJ",W);
+printf("\nchange in internal energy of the system is %f KJ",U);