Hello,

Could you please tell me, how do I calculate annual interest rate if I know principal $ XX, number of periods (7 years) and I know that the maximum budget for interest rate is $ YY?

For example

I have to borrow $180,000 for 7 years and I know that maximum I can pay for the interest is $38,700. What is the annual interest rate that the bank should offer so that I don't have to pay more than $38,700 in interest