Modeling a scenario with exponential function