The question isn’t clear, can you write it better so I can understand?
Total = Principal * (1+(rate/n))^n*years
Total = 1,200 * (1.015)^14
Total =
1,200 * <span><span><span>1.2317557307
</span>
</span>
</span>
<span>Total =
1,478.11</span>
Source:
http://www.1728.org/compint3.htm
This is a linear function. Let diameter (inches) be x, circumference (inches) be y, observe that the value of y/x is always 3.14. For example, 15.7/5=31.4/10=...=3.14. Therefore, this is not only a function (one to one correspondence from x to y), it's also a linear function that can be represented as y=3.14x.