A mathematical evolution model for phytoremediation of metals