A practical proposal to obtain solutions of certain variational problems avoiding Euler formalism