in a simple de ciruit the voltage a cross a componet and were measured what equation can be used to determine the resistance of the componnet