summaryrefslogtreecommitdiff
path: root/3718/CH3/EX3.4/Ex3_4.sce
blob: 8623977e9981f4c100da27b69c204de390c60025 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//Chapter 3: Thermodynamic and Chemical Equilibrium
//Problem: 4
clc;

//Declaration of Variables
delta_s = -20.7        // cal per deg per mol
delta_h = -67.37       // K cal
T = 25                 // deg C

// Solution
T = T + 273              // K
delta_g = delta_h - (T * delta_s * 10 ** -3)

mprintf("The change in free energy at 25deg C is: %.4f K cal per mol", delta_g)