Molecular weight of polyacrylic and polymethacrylic acid