Thermal stability of copolymer acrylamide-maleic anhydride