The Mathematics of Money