Effect of phosphorus on magnetic property of Ni–P alloy synthesized using pulsed electrodeposition