Step 1 :\(y_{max} = \max\{\max(25 \cdot 2^{x} + 45), \max(-\frac{1}{2} x + 146), \max(-x + 150), \max(-2(x-15)(x-40)), \max(-\frac{1}{5}(x-50)^{2}+250)\}\)
Step 2 :\text{Fastest rate}: \(0 < x < 2\)
Step 3 :\text{Decrease time frames}: \(0 < x < 10\), \(8 < x < 20\), \(17.9 < x < 35\), \(34.2 < x < 80\)
Step 4 :1. \text{Not a good idea to buy at the end because the stock is decreasing when } 34.2 < x < 80.