Fundamental limits of distributed computing for linearly separable functions