Equation for anharmonic oscillator