Classical and quantum q-deformed physical system