The following is an intereactive example of a producer's problem with Cobb-Douglass production and exogenous capital.