Quick Introduction to Maple(Please, read also New User's Tour (click "Help" and "New User's Tour" ))Learning basics of Maple is very easy. Every Maple worksheet consists of parts, called execution groups, marked by vertical lines on the left. Some execution groups contain text, like this one. Some, displayed in red with the prompt [> in front, are command lines. In general, you should execute all commands by placing a cursor on the command line and pressing ENTER. For example, the restart; command above clears all prior Maple assignments and starts a fresh Maple session for you. As with every mathematical software, Maple has its own way of entering commands, called syntax. The syntax must be strictly followed.
Basics: precise arithmetics, use of the command evalf to obtain numerical value
The way to enter arithmetical operations is very similar in Maple as it is in most of graphing calculators: +, -, for addition and subtraction, * for multiplication, (don't forget this one!), / for division, ^ for power. For example, if you want to calculate the value of the expressionNiQtSSVtcm93RzYjL0krbW9kdWxlbmFtZUc2IkksVHlwZXNldHRpbmdHSShfc3lzbGliR0YoNiUtSSNtaUdGJTY5USFGKC8lJ2ZhbWlseUdRMFRpbWVzfk5ld35Sb21hbkYoLyUlc2l6ZUdRIzEyRigvJSVib2xkR1EmZmFsc2VGKC8lJ2l0YWxpY0dRJXRydWVGKC8lKnVuZGVybGluZUdGOC8lKnN1YnNjcmlwdEdGOC8lLHN1cGVyc2NyaXB0R0Y4LyUrZm9yZWdyb3VuZEdRKFswLDAsMF1GKC8lK2JhY2tncm91bmRHRkQvJSdvcGFxdWVHRjgvJStleGVjdXRhYmxlR0Y4LyUpcmVhZG9ubHlHRjgvJSljb21wb3NlZEdGOC8lKmNvbnZlcnRlZEdGOC8lK2ltc2VsZWN0ZWRHRjgvJSxwbGFjZWhvbGRlckdGOC8lMGZvbnRfc3R5bGVfbmFtZUdRKzJEfkNvbW1lbnRGKC8lKm1hdGhjb2xvckdGRC8lL21hdGhiYWNrZ3JvdW5kR0ZELyUrZm9udGZhbWlseUdGMi8lLG1hdGh2YXJpYW50R1EnaXRhbGljRigvJSltYXRoc2l6ZUdGNS1JJm1mcmFjR0YlNiotRiQ2JUYsLUYkNiYtSSNtbkdGJTY5USIyRihGMEYzRjYvRjpGOEY8Rj5GQEZCRkVGR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NRk9GUUZTRlVGWEZaRmZuRmlvRltvRltwLUZlbzY5USMxNkYoRjBGM0Y2RmhvRjxGPkZARkJGRUZHRklGS0ZNRk9GUUZTRlVGWEZaRmZuRmlvRltvLUZccDYzUSIpRigvRmBwUShwb3N0Zml4RihGZXRGZHBGZnQvRmpwUTJ2ZXJ5dGhpbm1hdGhzcGFjZUYoRml0Rl1xRl9xRmJxRmVxRmdxRmlxRltyRl1yRl9yRmFyRixGLC8lLmxpbmV0aGlja25lc3NHUSIxRigvJStkZW5vbWFsaWduR1EnY2VudGVyRigvJSludW1hbGlnbkdGXnYvJSliZXZlbGxlZEdGOEZfckZhckYsNyM2IyomLCYiIiMiIiIqJCkiIiQiIiZGaHZGaHZGaHYqJiIiKEZodiwmIiNKRmh2IiM7Rmh2Rmh2ISIiyou enter:(2+3^5)/(7*(31+16));Execute the command above, by placing the cursor on the red line and pressing ENTER, to see the result, the output, displayed in blue.Note: Observe that every Maple command has to end with a semicolon! Observe also, that because of the rules of associating operations, you must enclose the denominator in parentheses. This applies to Maple as well as to your graphing calculators. a:=32/5;b:=14/3;a+b;a*b;a-b;12!;127!;Pi;sin(Pi/3);cos(Pi/4);sin(1);evalf(sin(1));evalf(sin(1),120);evalf(Pi);evalf(Pi,340);evalf(exp(1)); e:=exp(1);Symbolic Calculationsexpand((c+d)^4);p:=x^2-4*x-5; factor(p); Solving equationssolve(p,x); solve(p=3,x);Defining an expressionf:=ln(x^2+sin(x));Differentiation (finding derivatives)g:= diff(f,x);gg:=diff(f,x,x,x);Derivative of the previous functiondiff(%,x);simplify(%);Integration of functionsint(sin(x),x);int(x*ln(x),x);int(f,x);
int(ln(x+sin(x)),x=2..9);evalf(%);
Sumssum(k^2,'k'=1..r);sum(q^k,k=0..r);Limits of functionslimit(x*(Pi/2-arctan(x)),x=infinity);limit(ln(cos(x))/x^2,x=0);Plotting graphs of functions (2-dimensional plots)plot(g,x=1..4); plot({x*sin(x),x^2},x=-1..1); plot(sin(1/x), x=-0.10..0.10); Plotting graphs of functions(3-dimensional plots)plot3d(2*x+y^2-x^3-1,x=-4..4, y=-4..4, axes=box);plot3d(x^2+y^2, x=-1..1, y=-1..1, axes=normal,style=patchnogrid);plot3d(x^2-y^2,x=-2..2,y=-2..2);plot3d(cos(x^2+y^2), x=-3..3,y=-3..3,style=patchnogrid);Plotting double-gabled roof plot3d(1-abs(x),x=-1..1,y=-1..1,axes=box);plot3d(max(1-abs(x),1-abs(y)),x=-1..1,y=-1..1,axes=box);The plotting tools: package plotswith(plots);Animated graphicsanimate3d(cos(t*y*x),t=1..10,x=-1..1,y=-1..1,axes=normal,frames=10);
Implicit plotsimplicitplot3d( x^2 + y^2 - z^2 + 1,x=-2..2,y=-2..2,
z=-4..4,axes=box);
Space curves (helix)spacecurve([cos(t),sin(t),t],t=0..20.2,thickness=5,axes=framed);for k from 1 to 80 do q[k]:=spacecurve([cos(t),sin(t),t],t=0..k*0.2,thickness=5,axes=framed):
od:display([seq(q[k],k=1..80)],insequence=true);Level sets: contour plotscontourplot(sin(x*y),x=-3..3,y=-3..3);contourplot(x^4/2-x^2*y^2-6*sin(y),x=-3..3,y=-3..3);Vector fieldsfieldplot3d([-y, x, 0],x=-1..1,y=-1..1,z=-1..1,color=red, axes=boxed);