if then current resistance

if then current resistance