Financial calculator that solves differential equations through linear approximations