summaryrefslogtreecommitdiff
path: root/3689/CH18/EX18.7/18_7.sce
diff options
context:
space:
mode:
Diffstat (limited to '3689/CH18/EX18.7/18_7.sce')
-rw-r--r--3689/CH18/EX18.7/18_7.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/3689/CH18/EX18.7/18_7.sce b/3689/CH18/EX18.7/18_7.sce
new file mode 100644
index 000000000..289e34aad
--- /dev/null
+++ b/3689/CH18/EX18.7/18_7.sce
@@ -0,0 +1,12 @@
+////
+//Variable Declaration
+T = 22.0 //Temperature of the reaction,°C
+k1 = 7.0e-4 //Rate constants for rxn 1, 1/s
+k2 = 4.1e-3 //Rate constant for rxn 2, 1/s
+k3 = 5.7e-3 //Rate constant for rxn 3, 1/s
+//Calculations
+phiP1 = k1/(k1+k2+k3)
+
+//Results
+printf("\n Percentage of Benzyl Penicillin that under acid catalyzed reaction by path 1: %4.2f ",phiP1*100)
+