Company B's retained earnings at the end of 2014 is $17,250,000.
Using this formula
Retained earnings=Retained earnings +Pre-tax income×(1-Marginal tax rate)-Price per share× Outstanding shares
Let plug in the formula
Retained earnings=$13,500,000+($7,000,000× (1 - 40%))- ($0.15 × 3,000,000)
Retained earnings=$13,500,000 + $4,200,000- $450,000
Retained earnings= $17,250,000
Therefore Company B's retained earnings at the end of 2014 is $17,250,000.
Learn more about retained earnings here:https://brainly.com/question/25631040
#SPJ1