If someone were to ask you the profound yet simple question, "Do you understand God's equation for happiness?" what would you say?
If you feel stumped by the question, you might use your handy mobile device to look up lds.org and search for a good answer.
The answer is simply, "Happiness is the Sum of Obedience."
Referring to God's laws as outlined in the Ten Commandments, Elder L. Tom Perry explains this in his April 2013 General Conference address titled Obedience to Law is Liberty.
Compare this with the book Circumscription Hypothesis for a thoughtful perspective on the simple beauty of our complex universe.