一、案例定位

原書 Exercise 要求從單變數 Data Table 延伸到 two-variable table,同時測試 Tasting Menu 的 Price €30–€50 與 Quantity 10–30。

二、學習目標

三、案例情境

Figure 9-16 顯示 30–50 的 Price 與 10–30 的 Quantity Sold 交叉矩陣。

四、開始資料

Price Quantity 10 Quantity 20 Quantity 30
30 300 600 900
40 400 800 1,200
50 500 1,000 1,500

五、Excel/R/AI 分析方法

建立一個依 Price 與 Quantity 計算 Revenue 的模型 cell,再以 Excel two-variable Data Table 將一個變數設為 Row input cell、另一個設為 Column input cell。A 檔正文未印出官方 Prompt,僅指向外部 09/exercise1_solution.txt,因此本頁不冒充官方提問詞。

六、計算結果

Figure 9-16 的交叉值符合 Revenue = Price × Quantity;例如 €50 × 30 = 1,500,€30 × 10 = 300。

七、結果分析與管理解讀

Two-variable table 適合一次觀察兩個決策變數的共同影響,但它仍只是情境模型。如果實際 Revenue 還會受到折扣、不同單價或需求彈性影響,簡單乘法模型就不夠。

八、AI 提問詞

請告訴我如何用 Excel 建立 two-variable Data Table,同時讓 Price 從 30 到 50、Quantity 從 10 到 30,model output 是 Revenue = Price × Quantity。請清楚指出 Row input cell 與 Column input cell 應如何對應模型中的兩個變數。

九、思考/情境變動

**問題:**Price=45、Quantity=24 時,模型 Revenue 為多少?