if then voltage resistance

if then voltage resistance