electrical networks, convex functions, subadditive functions