Homework Assignment Homework AssignmentProfit Maximization Estimationa. Derive the profit function for the profit function.TR = 24Q - 1.5Q2TC = 9 + 4Q + 0.5Q2P = TR - TC = 24Q - 1.5Q2 - 9 - 4Q - 0.5Q2P = TR - TC = 20Q - 2Q2 - 9Profit Function: P (Q) = 20Q - 2Q2 - 9b. Find profit maximizing output level and Profit AmountOutputTotal RevenueTotal CostProfit009-9122.513.592421923358.525.5334723339582.541.5416905139794.561.5338967323994.585.59109099-9Output Level = 5 Units & Profit amount = $ 412. Elasticity Estimation using the Mid-Point FormulaUsing, We have,= (3.5 + 4.42)/(222+152) x (-0.315/0.263) = -2.497/98.31 = -0.02543. Demand EstimationQ = a1P + a2Px + ...