Enviar aquest missatge de text: A fractional variational approach for modelling dissipative mechanical systems: continuous and discrete settings