Calculate y=f(x) (fx)