In this function, K is the value of the eggs at t equal to zero. Further, consider a constant stream of storage costs at a rate of c per year for a total of years at some interest rate r. This will take the form: