Cost Calculation and Profit Analysis