Compute each balance separately. Bank A uses the discrete formula with n=4 and r=0.07.
A=10,000(1+40.07)20=10,000(1.0175)20≈14,147.78
Bank B uses the continuous model with rt=(0.069)(5)=0.345.
A=10,000e0.345≈14,119.90
Bank A ends up ahead by about 27.88 dollars. Continuous compounding is the more efficient schedule, but it cannot make up for a rate that is a tenth of a percentage point lower. Upgrading bank A from quarterly to continuous compounding at the same 7% would add only about 43 dollars, while the missing tenth of a percentage point is worth about 71 dollars, so the rate matters more here than the schedule does.