summaryrefslogtreecommitdiff
path: root/3876/CH11/EX11.3/Ex11_3.sce
blob: 2b03af345a88507040522c336f4d77e34bca29c2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
//Chapter 11 Thermodynamics Some Basic Concepts

clc;
clear;

//Initialisation of Variables
n= 2 //moles
R= 1.99 //cal er mole per degree
T= 80 //C
H1= 94.3 //cal per gram
M= 78 //gms per mole

//CALCULATIONS
w= n*R*(273+T)
H= n*M*H1
E= H-w

//RESULTS
mprintf("Value of dH= %.0f cal",H)
mprintf("\nValue of dE= %.0f cal",E)