A device consumes 100w of power when connected to a 120v source. Calculate it's resistance.