^+1. This is fundamental, and very well explained in this thread, so make the effort of going through that. Pick one of your hands in your DB and make the analysis in this thread.

Additionally, here is a very important thread as well on the path to your poker math enlightenment:

http://www.flopturnriver.com/pokerfo...ht=mathematics

Actually, the "analyze calling an all-in" thing is just a shortcut derived from the underlying EV equation. EV equations are the cornerstone of poker math, so definitely work your way through these threads.