OptimalApproximation-SmoothnessTradeoffsfor Soft-MaxFunctions