The best method to answer the question of whether taking 2mg of melatonin decreases the number of times individuals aged 30-40 wake up during the night is B. experiment.
This is because an experiment would allow for controlled conditions where one group receives the melatonin and another group receives a placebo. By comparing the waking frequency during the night between these two groups, researchers can draw more reliable conclusions about the effects of melatonin.