
Algebraically manipulating the formula, by making the principal P the subject of the formula, we have;

Given:

Substituting all these values in the newly generated formula, we have;

Therefore, the principal that needs to be deposited in the bank is $5978.07 to the nearest cent