Text this: Application of Mathematica to the Rayleigh–Ritz method for plane elasticity problems