Tensorflow code error

Hi, CHO.

You are initializing variable x,y and running f which is not defined!.
Kindly define all the variable and initialize create a session and run it.