Method for Pretreatment of Wastewater and Recreational Water with Nanocomposites