I would like to read a specific example of how the value of a company is determined according to the "value investing" philosophy. Warren Buffett can be seen on one of his YouTube videos, describing how he will first determine the value of a company if he was to buy the whole company. After that he will look at the current price of the company (share price * number of shares). If the latter is significantly lower, then he will buy the company.
My question is, how does he determine the value of a company. I would really like to see such a calculation with either an idealized company or a company I am able to understand, like a railroad company, or Coca-Cola (I at least think I can understand this company).