summaryrefslogtreecommitdiff
path: root/1388/CH7/EX7.15/7_15.sce
blob: dcb941bc001829cc4c45acd75821822cce85ecdd (plain)
1
2
3
4
5
6
7
8
9
clc
//initialisation of variables
E= 0.35240 //volts
F= 96493.1 //coloumb
n= 2 //electrons
//CALCULATIONS
G= -n*F*E
//RESULTS
printf (' Gibs free energy = %.f absolute joules ',G-22)