lamda math coding