How should I chose a resistor for a home-made electromagnet?
Your resister choices are reasonable so there will not be overcurrent on the PSU .This does waste lots of power .The resister wastes more power than the electromagnet .You could consider a lower voltage power supply or rewind the electromagnet with more turns of smaller diameter wire.