How to calculate the processing cost of capacitors