Air pollution error increasing

On plotting, my error is increasing exponentially rather than decreasing. Here is the link of my code https://ide.codingblocks.com/s/209807