Marketing Pyramid, Cost Function