In my library, I want to take a one-argument JavaScript function that inputs and outputs doubles, to a closed-form expression (in a string) using those statements: