summaryrefslogtreecommitdiff
path: root/1427/CH16/EX16.25/16_25.sce
blob: 252018ac7dac2fa28fcb96b4b89bd29a5c7fd6f9 (plain)
1
2
3
4
5
6
7
//ques-16.25
//Calculating relaxation time and equilibrium constant
clc
ka=1.5*10^4; kb=3*10^5;//rate constants (in /s)
R_T=1/(ka+kb);//relaxation time 
K=ka/kb;//equilibrium constant
printf("Relaxation time is %.10f s and equilibrium constant is %.2f.",R_T,K);