rate = 9

terms = 10

principal = 80000

simple interest = ( 80000 * 10 * 9 ) / 100

simple interest = 72000

simple interest = 72000

total cost = 80000 + 72000

total cost = 152000

total cost = 152000

emi = 152000 / ( 10 * 12 )

emi = 1266.6667

where,

CI = compound interest

P = principal

r = rate

n = terms

SI = simple interest

d = difference

tc = total cost

m = margin

mp = margin percentage

emi = emi