3 In accordance with the boundary conditions, the end points are set to zero - for additional details, see Gerald and Wheatley (2004) and Marcoulides and Khojasteh (2018).