Application of the Ritz method to plane elasticity problems for composite sheets with variable fibre spacing