Open Question: How do you calculate cost of debt, common stock, new...

...cost of debt, cost of common stock, cost of new common stock, cost of preferred stock and cost...