Find point of inflection for trig function tan(x)