Enter is executed in the command window. Use Ctrl+Enter to wrap lines.
As for the picture upstairs, it's right. First define x = 0:10: 360; There can be no other unknowns except X in the expressions of functions Y and Y, and it should be noted that if there is a square or something, use ". * "instead of" * ",and the division is the same, 2. /x, like this.
Are the most basic. Grab a book and read the first two chapters.