summaryrefslogtreecommitdiff
path: root/3689/CH18/EX18.5/18_5.sce
blob: f0c199f8ca51b58601d5a83974aada70438d8f01 (plain)
1
2
3
4
5
6
7
8
9
10
11
////
//Variable Declaration
kAbykI = 2.0       //Ratio of rate constants
kA = 0.1           //First order rate constant for rxn 1, 1/s 
kI = 0.05          //First order rate constant for rxn 2, 1/s 
//Calculations
tmax = 1/(kA-kI)*log(kA/kI)

//Results
printf("\n Time required for maximum concentration of A: %4.2f s",tmax)