The correct response that explains how morphine was developed by using the scientific method is:
by testing theories, trial and error, and recording data.
This approach aligns with the systematic process of experimentation and analysis that characterizes the scientific method.