How to discretize the differential forms on the interval