The required parameters are the expression to differentiate, which must be specified first, and the independent variable.ġ + tan x 2 sin x + tan x cos xįor a complete list of commands that implement mathematical functions, such as BesselI and AiryAi, available in the library, refer to the initialfunctions help page.įor detailed information on the properties of a function, use the FunctionAdvisor command.įunctionAdvisor ' definition ', BesselI Note: In 1-D Math input, include a semicolon or colon at the end of the calling sequence.įor example, to differentiate an expression, use the diff command. This is referred to as a calling sequence for the command. To use a top-level command, enter its name followed by parentheses ( ( ) ) containing any parameters. For information on the Maple Help System, see The Maple Help System.
Packages contain related specialized commands in areas such as calculus, linear algebra, vector calculus, and code generation.įor a complete list of packages and commands, refer to the index/help help pages. The top-level commands include many of the most frequently used Maple commands, as well as an extensive list of mathematical functions. There are two types of commands: top-level commands and package commands. Maple's commands are contained in the Maple library. For more information, see The Maple Help System and Task Templates.
To learn how to use Maple commands, see the appropriate help page, or use task templates. Basic Programming provides an introduction to Maple programming. 1-D Math input is recommended when programming in Maple. You can enter commands using 1-D or 2-D Math. Most Maple commands are written using the Maple programming language. Maple contains a large set of commands and a powerful programming language. Notice that the following example gives an error in 1-D math but in 2-D math this is interpreted as multiplication.
This can either give unexpected results or an error. If you do not specify a semicolon or colon, Maple interprets it as a single input. In 1-D and 2-D Math input, you can use a semicolon or colon to separate multiple inputs in the same input line. To convert between 2-D Math input and 1-D Math input:įrom the Format menu, select Convert To, and then 1-D Math Input (or 2-D Math Input). Ĭlick Apply to Session (to set for only the current session) or Apply Globally (to set for all Maple sessions). On the Display tab, in the Input display drop-down list, select Maple Notation. To set the default input mode at a prompt to 1-D Math:įrom the Tools menu, select Options.
1-D Math input is red.Īt the input prompt, press F5 or click the Text button in the context bar,, to switch from 2-D Math to 1-D Math.Īs with 2-D math, in 1-D math, if you use a colon, Maple suppresses the output. The input is entered as a one-dimensional sequence of characters. You can also insert input using 1-D Math mode. To suppress the output, enter a colon ( : ) at the end of the input.
In the worksheet, the semicolon as a statement terminator is optional. įor example, compute the sum of two fractions.Ī set of Maple input and its output are referred to as an execution group. Maple displays the result (output) below the input.įor example, to find the value of sin 3 &pi 3, enter the expression, and then press Enter. The default mode for input is Math mode ( 2-D Math ). In Worksheet mode, you enter input at the Maple input prompt ( ). Names - References to the expressions you assign to themĮquation Labels - Automatically generated labels that you can use to refer to expressions Text Regions - Areas in the document in which you can enter text Task Templates - Sets of commands with placeholders that you can insert and use to perform a task The Context Panel - Clickable access to common operationsĪssistants and Tutors - Graphical interfaces with buttons and sliders Palettes - Items that you can insert by clicking or dragging Note: This chapter and the following chapters except Chapter 7 were created using Worksheet mode.Ĭommands - Thousands of routines for performing computations and other operations For information on document blocks, see Document Blocks. Note: Using a document block, you can use all Document mode features in Worksheet mode. Using Worksheet mode, you have access to all of the Maple features described in Chapter 1, and most of those described in Chapter 2, including:įor information on these features, see Chapter 1, Getting Started and Chapter 2, Document Mode. Programming using the powerful Maple language Interactive use through Maple commands, which offers advanced functionality and customized control not available using the context panel or other syntax-free methods The Worksheet mode of the Standard Worksheet interface is designed for: