Last active
September 1, 2023 00:57
-
-
Save chadbaldwin/52ae5f2dac2220d0671607348134b100 to your computer and use it in GitHub Desktop.
Latex code used for generating formulas in Auto Finance Equations blog post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Standard loan forumula | |
P=\begin{cases} | |
\frac{r(PV)}{1-(1+r)^{-n}} &\text{if }r\neq0\\\\ | |
\;\;\;\;\;\frac{PV}{n} &\text{if }r=0 | |
\end{cases} | |
% Finance Cost - Using Payment and Loan Amount | |
FC=\frac{P}{PV} | |
% Finance Cost - Using Rate and Term | |
FC=\begin{cases} | |
\frac{r}{1-(1+r)^{-n}} &\text{if }r\neq0\\\\ | |
\;\;\;\;\;\frac{1}{n} &\text{if }r=0 | |
\end{cases} | |
% Finance Cost - Calculating cost per $1,000 financed | |
P=FC\cdot\$1,000 | |
% Future Value | |
FV = PV(1+r)^n - P\left[ \frac{(1+r)^n-1}{r} \right] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
[reserving first comment]