The invention provides a method for electric brain stimulator. In the beginning, obtaining a brain functional amplitude modulation spectrum, wherein the brain functional amplitude modulation spectrum is a relationship between carrier frequency and amplitude-frequency on different brain sites. Then selecting a first alternating current frequency, wherein the first alternating current frequency is determined by the amplitude-frequency in which the brain functional amplitude modulation spectrum display a maximum power relation value, or a maximum correlation value with any behavior index of behavior and cognitive functions. And selecting a second alternating current frequency, wherein the second alternating current frequency is determined by the carrier frequency in which the brain functional amplitude modulation spectrum display a maximum power relation value, or a maximum correlation value with any behavior index of behavior and cognitive functions. In the end, outputting an alternating current signal, the alternating current signal is generated based on a first cosine function of the first alternating current frequency, a second cosine function of the second alternating current frequency, or a combination of the first cosine function and the second cosine function.
SYSTEM AND METHOD FOR ELECTRIC BRAIN STIMULATOR