how to calculate lambda in physics