John buys shares in the stock market for $1000.
He sells the shares when the value of the shares doubles.
He pays a 5% transaction fee on both his purchase price and sale price.
How much profit does John make?
NOTE: When a transaction fee is paid for a stock purchase, the amount of stock purchased is reduced by that commission.