The following tables give price demand and price supply data for the sale of soybeans at a grain market, where x is the number of bushels of soybeans (in thousands of bushels) and p is the price per bushel (in dollars):
Use quadratic regression to model the price demand data and linear regression to model the price supply data.
(A) Find the equilibrium quantity (to three decimal places) and equilibrium price (to the nearest cent)
(B) Use a numerical integration routine to find the consumers surplus and producers surplus at the equilibrium price level.