Relationship between current and voltage and resistance