Examine a detailed example of the weighted average method in process costing scenarios.