How to calculate

WACC (Weighted Average Cost of Capital)

E
E + D
×
Re
+
D
E + D
×
Rd
×
(1 - T)