How can I calculate the affect of cooking my food on its nutrition
Lentils (and other foods) expand when cooked - its not the same amount of lentils (and other food).

Some vitamins and such are destroyed by heat, but to be sure on exactly what, only a lab could determine.

For macronutrients such as proteint, fats, etc - whatever goes in, comes out.