Final answer:
The cost of the ending inventory using the weighted-average cost method and periodic inventory system is $7,425.
Step-by-step explanation:
The weighted-average cost method is used to calculate the cost of ending inventory in the periodic inventory system. This method takes into account both the quantity and cost of the units sold throughout the year. To calculate the cost of ending inventory, you need to multiply the total units available for sale by the weighted-average cost per unit.
In this case, the total units available for sale are the sum of the units purchased throughout the year plus the ending inventory, which is 380 + 270 + 300 + 250 + 400 = 1600 units. The weighted-average cost per unit is calculated by dividing the total cost of goods available for sale by the total units available for sale. In this case, it would be (380 * 15 + 270 * 20 + 300 * 24 + 250 * 30) / 1600 = $18.5625. Finally, you can calculate the cost of the ending inventory by multiplying the ending inventory units by the weighted-average cost per unit, which is 400 * $18.5625 = $7,425.