Text this: Modeling of far-infrared optical problem for second order phase transition semi-infinite ferroelectric material