formation of equation