Two enzymes, A and B, catalyse the same reaction. Their relative activities were measured at different pH values using appropriate buffer solutions, as shown in the table below.
| pH | Relative activity of Enzyme A | Relative activity of Enzyme B |
|---|---|---|
| 2 | 10 | 0 |
| 3 | 40 | 5 |
| 4 | 90 | 20 |
| 5 | 75 | 60 |
| 6 | 30 | 95 |
| 7 | 10 | 70 |
| 8 | 0 | 30 |
Compare the effect of pH on the activity of enzyme A and enzyme B, and explain how the values of Vmax and Km could be used to compare the affinity of these two enzymes for their substrate.