Numerical method for fractional variational problems by Müntz-Legendre polynomials | Synapse