principal = 18000

rate = 5

terms = 3

simple interest = ( 18000 * 3 * 5 ) / 100

simple interest = 2700

simple interest = 2700

total cost = 18000 + 2700

total cost = 20700

total cost = 20700

emi = 20700 / ( 3 * 12 )

emi = 575

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