How does cid make power?

There is a simple equation relating intake port flow to horse power. There is another simple equation linking cubic inch, rpm and intake flow. There are general assumptions and general limits, but seems to be a pretty good ballpark.