setup equation

setup equation using input from prompt and the given