maple11_sheet1

maple11_sheet1 - Maple 11 Cheat Sheet Syntax ; Ends a...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Maple 11 Cheat Sheet Syntax ; Ends a command with a semicolon. e.g. 5+6; plot(x); : Suppresses the display of output by ending a command with a colon. Useful for lengthy outputs or loading packages. e.g. with(plots): 5000!: := Assigns an expression to a variable. e.g. a:=3; b:=a+x; assigns 3 to a and 3 + x to b . x:=x; unassigns the variable x . = Defines mathematical equations. e.g. y = x^2 + 3*x + 4; produces the equation y = x 2 + 3 x + 4. % Refers to the last result. n of the % symbols refers to the n th previous result. e.g. %%% gives the third previous presult. f :=( x , y ,...)->... Defines a function. e.g. f := (x,y) -> x^2+y^2; defines the function f ( x, y ) = x 2 + y 2 . f(0,1) evaluates f (0 , 1) = 0 2 +1 2 = 1. plot3d(f(x,y), x=0..1, y=0..1); plots the function. L :=[ x1 , x2 , ..., xn ] Defines a list (ordered sequence) L of expressions x 1 , x 2 , . . . , x n . Refer to the n th list item by L [ n ]. To extract the contents of a list, use the empty selection operator . e.g. A:=[1,2,3]; A[3]; returns 3. A returns 1,2,3. S: := { x1, x2, ..., xn } Defines a set S of expressions x 1 , x 2 , . . . , x n . Use the empty selection operator to extract the contents of a set. e.g. S:= { 5,3,3,2,1 } ; S; returns 1,3,4,5. ? topic Displays help on topic. All identifiers (variables and functions) are case sensitive . e.g. X is different from x . Pi and pi are different! In general, a function whose name begins with a capital letter is an inert form of the function who has the same name but begins with lower case. Inert functions are unevaluated and may be manipulated and printed in a prettyprinted format. e.g. Int(x,x); returns integraltext xdx and is the inert form of int(x,x); , which evaluates to x 2 / 2. Usages Right-click an expression to display a context-sensitive menu of applicable options. !!! Click the !!! icon to execute the entire worksheet. Useful when you have changed expressions that affect subsequent commands. Keyboard Shortcuts Enter Evaluate Ctrl + = Evaluate and display inline (Document Mode) Ctrl + Space Complete symbol/command F5 Toggle Math/Text entry (Document Mode) Toggle 2-D/1-D Math entry (Worksheet Mode) Ctrl + F1 Maple help Defined Constants Pi 3 . 14159265 ... I complex number I = - 1 infinity gamma Eulers constant . 5772156649 ... Catalan Catalans constant . 915965594 ... exp(1) e 2 . 718281828 Commands General with( package ); Loads the specified Maple package. unassign( var ); Deletes a value stored in the given variable....
View Full Document

Page1 / 3

maple11_sheet1 - Maple 11 Cheat Sheet Syntax ; Ends a...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online