E = I * R

I = E / R

R = E / I

where E = voltage in volts, I = current in amps, and R = resistance in ohms

P = E * I

P = (E ** 2) / R

P = (I ** 2) * R

where P = power in watts