An entity has a tax rate of 35% and a capital structure consisting of 40% noncurrent debt, 20% preferred stock, and 40% common equity. The before-tax cost of capital for these components are 8%, 13%, and 17%, respectively. What is the entity’s weighted-average cost of capital?