blob: b99a19e48abf880dabf02378c3908fb74d09936b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
//Chapter 6: Electrochemistry
//Problem: 2
clc;
//Declaration of Variables
T = 25 // C
Cu = 0.1 // M
Zn = 0.001 // M
Eo = 1.1
// Solution
E = Eo + 0.0296 * log10(Cu / Zn)
mprintf("The emf of Daniell cell is %.4f V",E)
|