Some mathematical models for investment