The Euler–Lagrange and Legendre equations for functionals involving distributed–order fractional derivatives - Almeida, Ricardo