A short look at the math behind loans might show the benefit of loans versus the classic dollar-cost average strategy.