from math import exp, log

def f(x):
    if x == 1:
        r = 0
    else:
        r = (exp(x) - x**3)/log(x)
    return r

def aprop(x, eps, arr):
    ax = round(f(x - eps), arr)
    fx = round(f(x), arr)
    dx = round(f(x + eps), arr)
    r = '{}\t{}\t{}\n{}\t{}\t{}'.format(
        x - eps,
        x,
        x + eps,
        ax,
        fx,
        dx
    )
    return r
