Question: what are the four main functions of the nervous system?
Answer: Control of body's internal environment to maintain 'homeostasis' An example of this is the regulation of body temperature. ... 
Programming of spinal cord reflexes. An example of this is the stretch reflex. ... 
Memory and learning. ... 
Voluntary control of movement.