calculating market value of equity