summaryrefslogtreecommitdiff
path: root/3718/CH6/EX6.6/Ex6_6.sce
blob: c0acffd39b01e93ee489012f2fc61983f60291af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//Chapter 6: Electrochemistry
//Problem: 6
clc;

//Declaration of Constant
F = 96500        // C / mol

//Declaration of Variables
n = 2
T = 25           // C
Eo_Ag = 0.80     // Ag+ / Ag
Eo_Ni = - 0.24   // Ni+2 / Ni

// Solution
Eo_Cell = Eo_Ag - Eo_Ni
delta_Go = - n * F * Eo_Cell

mprintf("Standard free energy change %d J / mol",delta_Go)