to verify the law of resistance