(Subscript[S, Segment n-m])=(((∑_(r=n)^m)S(r)L(r))/((∑_(r=n)^m)L(r)))