New research from cognitive neuroscientists has pinpointed how stimulants such as Ritalin and Adderall can change people’s motivation to complete difficult tasks.