What would be a code example for this Big O Notation?

2n^2 * 2^n + logn = O(N^2*2^N)

Where do the constants come from in the code?
Is there a good web site that has programming examples of big O notation and efficiency?