Need help calculate lambda

Gave up on the float switches?