Title: Calculations in cotton weaving