From the following, calculate the cost of ending inventory and cost of goods sold for the weighted-average method, ending inventory is 52 units. (Round your intermediate calculations and final answers to the nearest cent.) Beginning inventory and purchases Units Unit cost January 1 4 $ 1.20 April 10 11 1.70 May 15 11 2.20 July 22 16 2.45 August 19 17 3.20 September 30 21 3.40 November 10 31 3.60 December 15 17 4.00 Cost of ending inventory $ Cost of goods sold