f[x_]:=7 x^5 + (x^2 - 1)^(1/2)Once you have typed this in exactly this form, hit the (Shift) Return key to "execute" the definition. Note several things about this definition. First, note that there is a subscore next the the variable x in the square brackets. To do this, you hold the shift key down and type the - key next to the 0. This tells the computer that you will allow numbers to be put into the function. Also notice that there is a colon before the equal sign. This must be there in order for the computer to know how to apply the function later on. Whenever you multiply a number times a variable, you have to leave a space between them. Anything raised to a power will use the symbol \^\ . As mentioned in class, we will often use letters other than f for our functions and variables other than x for the independent variable, but any definition of a function will follow this basic form.
Plot[f[x],{x,-10,10}]As before, to "execute" the command, you need to hit the (Shift) Return key on the right hand side of the keyboard. If your function has a different name than f[x], then use that in place of f[x]. The range that I have listed (from -10 to 10) is only for this example. You will often have to change those to focus in on the part of the graph that you need to see in order to answer the question. If you do not like the picture that you see, then you can use your mouse to go up to this range, and delete and replace those numbers with other numbers that you think will give you a better picture. You may have to repeat this several times: once you have made the changes, hit the (Shift) Return key to see what the new picture looks like. If you think you want more than one picture of the same function, then simply retype the command (or use cut and paste if you know how) to do the whole command again with a different range.
Solve[f[x]==0,x]Once you have it in this form, hit the (Shift) Return key to execute the command. If you are working with a different variable than x, then replace both x's in the command above with the appropriate letter. Notice that there are two = signs in the command: make sure you always do that for the Solve command. This will give you every solution to this equation, but sometimes they will not be in a form that you recognize. Often, it is useful to use the command
N[%]to get an exact value. There are other ways to get exact values, and you are welcome to experiment with Mathematica to see the best way to do things.
Integrate[f[x],x]