Mathematical modelling to solve environmental related problems