Price Elasticity, Price Optimization, Price Analysis, Python, Regression.
list(np.linspace(15, 1000, num=100)) demand2 = 186652 * np.power(price,elasticity2) revenue2 = price * demand2 max_revenue2 = np.max(revenue2) max_index2 = np.argmax(revenue2) price[max_index2] data2 = {'Price': price, 'Revenue': revenue2, 'Quantity': demand2} price_df2 = pd.DataFrame(data2)