problem function

Create mathematical model