Oh, hell--it's a lot more complicated than that, but it takes the basic facts and draws a picture of the results.
It is more complex than that, but it uses basic facts.
It is way simpler than what you are making it.