Also, consider the heat generated in the resistor: P=U*I (U=voltage over resistor, I=current through resistor). Can also be calculated as P=U^2/R or P=R*I^2.

You need a resistor that is rated for at least that amount of power dissipation, or you risk overheating it.

/Michael
_________________________
/Michael