//Chapter-10,Example 10,Page 255 clc(); close(); //E_H = -0.0592*pH //E_cell = E_H = -0.0592 *pH E_cell = 0.29 pH = E_cell/0.0592 printf('the pH of the solution is pH = %.2f ',pH)