Mathematics of Personal Finance