Total Annual Cost Formula