The real problem with this math is that the cost of the braking system would be borne by the company, but the costs of the derailment are borne by the public. So even if the derailment cost >>> the brake system cost, it's an easy decision for the industry to make. That whole privatized profits / socialized losses issue that keeps showing up.