The formula for loan amortization is given at Amortization Calculation Formula and Payment Calculator

It is

Here, P is the original amount of the loan, n is the number of payments, and r is the interest rate per payment period. For this problem, P= 100000, n= 10, and r= .05.

If you were making monthly payments, n would be 120 and r would be .05/12.