In this webcast, Aswath Damodaran goes through the process of using the cost of capital approach to optimizing capital structure. I use Dell (from 2013) as my example and my capital structure spreadsheet.
Aswath Damodaran: Estimating an Optimal Debt Ratio
Slides: