try equation in code