I want to calculate the amount of material to construct a flag (height: 1 mt).
When the flag flies formed in the contour the curve y = sen(X) (x in [0,4pi]).

(Consider that the fabric does not stretch or shrink the flame and the flame is perfect)

How much fabric I need for this? I need to be resolved by integrating..