The Terminal Man, by Michael Crichton
The 1970s witnessed the rise of medical thrillers, which sometimes rehearse brainrelated theories and practices (Hahn 2005, Pethes 2005); a famous example is Michael Crichton’s 1972 The Terminal Man, in which a microcomputer is inserted into a computer scientist’s brain.
About the book
Harry Benson is prone to violent, uncontrollable seizures and is under police guard after attacking two people.
Dr. Roger McPherson, head of the prestigious Neuropsychiatric Research Unit at University Hospital in Los Angeles, is convinced he can cure Benson through a procedure called Stage Three. During this highly specialized experimental surgery, electrodes will be place in the patient's brain, sending monitored, soothing pulses to its pleasure canyons.
Though the operation is a success, there is an unforseen development. Benson learns how to control the pulses and is increasing their frequency. He escapes -- a homicidal maniac loose in the city -- and nothing will stop his murderous rampages or impede his deadly agenda... - Goodreads