Worst-Case analysis of electrical and electronic equipment via affine arithmetic