結果 : define demand function with example