Interest in the local bank = 0.022 x 2000 = $44
Interest in the online account = 0.0485 x 2000 = $97
For the local bank to be a better deal, let x be the number of withdrawals, then 3x > 97 - 44
3x > 53
x > 17.7
Therefore, fore the local bank to be a better deal, he will withdraw about 18 times.