equity value calculation