Magnetic properties of high Tc superconductors