Yue’s solution of classical elasticity in
n
-layered solids: Part 2, mathematical verification