Docsity

Maple 11 Quick Reference Card: Document Mode vs. Worksheet Mode, Assignments of Computer Science

Toggle sidebar
bg1
Maple 11 Quick Reference Card UNIX version
Document Mode vs. Worksheet Mode
Maple 11 offers two primary modes of problem entry and content creation: Document mode and Worksheet mode. Both modes have respective advantages and you can easily switch from one
mode to the other for maximum flexibility.
Document Mode Worksheet Mode
•Quick problem-solving and free-form, rich content composition
• No prompt (>) displayed
•Math is entered and displayed in 2-D
• Press to evaluate expression (inline results)
• Press to evaluate expression (results on new line)
• Solve math problems with right-click menu on input and output
• Switch to Worksheet mode by inserting prompt
•Traditional Maple problem-solving environment
• Enter problems at a prompt (>)
•Math entered and displayed in 2-D or 1-D
• Press to evaluate expression
• Solve math problems with right-click menu on math expressions
• Switch to Document mode by creating document block
Document mode lets you create rich content. For example, the following solves for xwithout
any commands:
Toggle Math/Text entry mode or on toolbar Toggle 2-D/1-D Math entry mode 2-D black font, 1-D red font
Evaluate math expression and display result inline Evaluate math expression and display result on new line
Evaluate math expression and display result on new line Continue on next line without executing
Switch to Worksheet mode (insert prompt) on toolbar Switch to Document mode Format Create Document Block
Show hidden commands View Expand Document Block Hide commands. Show only results. Highlight commands to be hidden.
Format Create Document Block
Common Operations Available in Both Document and Worksheet Modes
Display quick help for Quick Help. for Quick Reference Card (this guide)
Refer to previous result using equation numbers then enter equation number in dialog
Recompute calculations within a line on toolbar
Recompute all calculations in a document on toolbar
Symbol selection, e.g. εEnter leading characters , e.g. eps
Command completion, e.g. Lambert W function Enter leading characters , e.g. Lamb
Perform context operation on math expression Right-click any math expression
Insert prompt on toolbar
Insert text paragraph on toolbar
2-D Math Editing Operations, Keyboard Shortcuts, and Operations
Navigate through expression
Move cursor to different level in expression, e.g. out of exponent
Navigate through placeholders
Add, remove, rearrange palettes View Palettes Arrange Palettes or right-click palette
Fraction , superscript xn, subscript xn
x
–
yx/y, x^n, x_n
Prime notation for derivatives, e.g. y” + y’ = 0
Square root x, nth root nxEnter leading characters sqrt , nthroot
Symbol above, e.g. xxthen insert symbol, e.g. from Arrows palette
To enter literal characters (_,^, etc.), precede character with \(backslash) e.g. foo\_bar produces foo_bar
Greek letter entry mode (single letter)
Special characters and symbols: Enter leading characters and pi,e,i
infin
alpha,lambda
geq,leq,ne,pm
pf2

Partial preview of the text

Download Maple 11 Quick Reference Card: Document Mode vs. Worksheet Mode and more Assignments Computer Science in PDF only on Docsity!

Maple 11 Quick Reference Card UNIX version

Document Mode vs. Worksheet Mode

Maple 11 offers two primary modes of problem entry and content creation: Document mode and Worksheet mode. Both modes have respective advantages and you can easily switch from one mode to the other for maximum flexibility.

Document Mode Worksheet Mode

  • Quick problem-solving and free-form, rich content composition
  • No prompt ( > ) displayed
  • Math is entered and displayed in 2-D
  • Press to evaluate expression (inline results)
  • Press to evaluate expression (results on new line)
  • Solve math problems with right-click menu on input and output
  • Switch to Worksheet mode by inserting prompt
  • Traditional Maple problem-solving environment
  • Enter problems at a prompt ( > )
  • Math entered and displayed in 2-D or 1-D
  • Press to evaluate expression
  • Solve math problems with right-click menu on math expressions
  • Switch to Document mode by creating document block

Document mode lets you create rich content. For example, the following solves for x without any commands:

Toggle Math/Text entry mode (^) or on toolbar Toggle 2-D/1-D Math entry mode (^) 2-D black font, 1-D red font

Evaluate math expression and display result inline Evaluate math expression and display result on new line

Evaluate math expression and display result on new line Continue on next line without executing

Switch to Worksheet mode (insert prompt) (^) on toolbar Switch to Document mode Format Create Document Block

Show hidden commands View Expand Document Block Hide commands. Show only results. Highlight commands to be hidden. Format Create Document Block

Common Operations Available in Both Document and Worksheet Modes

Display quick help (^) for Quick Help. for Quick Reference Card (this guide)

Refer to previous result using equation numbers (^) then enter equation number in dialog

Recompute calculations within a line (^) on toolbar

Recompute all calculations in a document (^) on toolbar

Symbol selection, e.g. ε Enter leading characters , e.g. eps

Command completion, e.g. Lambert W function (^) Enter leading characters , e.g. Lamb

Perform context operation on math expression Right-click any math expression

Insert prompt (^) on toolbar

Insert text paragraph (^) on toolbar

2-D Math Editing Operations, Keyboard Shortcuts, and Operations

Navigate through expression

Move cursor to different level in expression, e.g. out of exponent

Navigate through placeholders

Add, remove, rearrange palettes View Palettes Arrange Palettes or right-click palette

Fraction , superscript x n , subscript x n

x– y x/y, x^n, x_n

Prime notation for derivatives, e.g. y” + y’ = 0

Square root x , n th root n x Enter leading characters sqrt , nthroot

Symbol above, e.g. x (^) x then insert symbol, e.g. from Arrows palette

To enter literal characters ( _ , ^ , etc.), precede character with ** (backslash) e.g. foo_bar produces foo_bar

Greek letter entry mode (single letter)

Special characters and symbols: Enter leading characters and

pi , e , i

infin

alpha , lambda

geq , leq , ne , pm

Maple 11 Quick Reference Card UNIX version

Mathematical Operations

Common manipulations (simplify, factor, expand,…) Right-click^ expression and select from menu

Solve equations Right-click^ equation^ Solve

Solve numerically (floating-point) Right-click equation Solve Numerically

Solve ODE Right-click DE expression Solve DE Interactively

Integrate, differentiate Right-click expression Integrate or Differentiate

Evaluate expression at a point Right-click^ expression^ Evaluate at a Point

Create a matrix or vector Matrix palette^ Choose^ Insert

Invert, transpose, solve matrix

Right-click matrix Standard operations select Inverse , Transpose , ... Evaluate as floating-point Right-click expression Approximate

Various operations and tasks Use Task Templates: Tools Tasks Browse

Expressions vs. Functions

Operations (^) Expression x^2 + y^2 Function (operator) g ( x , y ) = x^2 + y^2

Definition f := x^2 + y^2;^ g := (x,y) ->^ x^2+y^2; Evaluate at x=1, y=2 eval(f, [x=1,y=2]);^ produces 5^ g(1,2);^ produces 5 3-D plot for x from 0 to 1, y from 0 to 1 plot3d(f,x=0..1,y=0..1);^ plot3d(g(x,y),x=0..1,y=0..1);

Conversion to other form

f2 := unapply(f,x,y); f2(1,2); produces 5

g2 := g(x,1); g2 + z; produces x^2 +1+ z

Units and Tolerances

Add units to value or expression Place cursor to right of quantity. Use Units (FPS) palette or right-click Units^ Units (SI) Affix unit^ or.

Add arbitrary unit from^ Units (SI)^ or^ Units (FPS)^ palette and enter desired unit Simplify units in an expression Right-click expression Units Simplify

Convert units Right-click^ expression^ Units^ Convert

Enable automatic units simplication with(Units[Standard]);

Enable tolerance calculations with(Tolerances);

Tolerance quantity in 2-D Math (^) 9 pm 1.1 for 9 ± 1.

Tolerance quantity in 1-D Math 9 &+- 1.1; for 9 ± 1.

Input and Output

Interactive data import assistant Tools Assistants Import Data

Import audio or image file Tools^ Assistants^ Import Data Code generation (C, FORTRAN, Java, Visual Basic®, MATLAB®)

Right-click expression Language Conversions. See ?CodeGeneration for help and details.

Publish document in HTML, LaTeX, or Microsoft®^ Word-RTF

File Export As select HTML , LaTeX , or Rich Text Format

Select Interactive Tools and Utilities

Quick introductory tour Help^ Take a Tour of Maple Show available task templates Tools Tasks Browse

Interactive Dictionary of Engineering and Mathematical terms

Help Manuals , Dictionary , and more Dictionary

Plot Builder

Right-click expression Plots Plot Builder , or Tools Assistants Plot Builder

ODE Analyzer Tools^ Assistants^ ODE Analyzer Data Analysis Assistant Tools Assistants Data Analysis

Unit Conversion utility Tools Assistants Units Calculator

Back-Solving Assistant Tools^ Assistants^ BackSolver Apply numeric formatting Right-click expression Numeric Formatting

Manuals (Getting Started Guide, User Manual) Help^ Manuals ,^ Dictionary ,^ and more^ Manuals Interactive education tutors for topics in Calculus, Precalculus, and Linear Algebra

Tools Tutors

P-0510-00-E

Important Maple Syntax

:= Assignment a:=2; b:=3+x; c:=a+b; produces 5 + x for c

= Mathematical equation solve(2x + a = 1,x);* produces x =

1- a — 2

= Boolean equality if a = 0 then …

Suppress display of output Terminate command with a colon, e.g.^ 1000! :

[ ] List (ordered) z:=[c, b, a]; z[1]; produces c

{ } Set (unordered, no duplicates) {a, b, a, c}; produces { a , c, b }

Display help on topic ?topic

Plotting and Animation

Plot an existing expression (^) - click expression Plots Plot Builder

Plot new expression Tools Assistants Plot Builder

Add new expression to existing plot Highlight and drag expression into plot

Add annotations to 2-D plots (^) Click on plot, then on the toolbar

Animation and parameter plots for functions of several variables

Right-click expression Plots Plot Builder and select a plot type

www.maplesoft.com | www.mapleapps.com

© Maplesoft, a division of Waterloo Maple Inc., 2007. Maplesoft and Maple are trademarks of Waterloo Maple Inc. All other trademarks are property of their respective owners.

Corporate Headquarters Maplesoft, Waterloo, Canada t. 519.747.2373 | f. 519.747. 800.267.6583 (US & Canada) [email protected]