How do I enter a general formula?

If the formula consists only of letters and numbers, you can type it directly into the editing area using the keyboard.