Skip to main content

Exploring Calculus with Maple Introductory Calculus

Section 1.1 Creating a Maple Worksheet

Subsection 1.1.1 Recommended Tutorials

Before starting on these exercises, you should familiarize yourself with the material covered in the following tutorials:

Subsection 1.1.2 Introduction

This activity will give you practice with:
  • setting up a new worksheet in Maple for future activities.
  • switching between paragraphs for text and execution groups for Maple input.
  • evaluating expressions in exact and decimal form.

Exercises 1.1.3 Exercises

1.

Open up Maple on your lab computer. If you are asked whether you would like to update Maple, you can select No. From the start page, create a new worksheet. Worksheet mode is preferable to document mode, since it is often more user-friendly.

2.

On the first line of your worksheet you should be in Maple input, which is indicated by the > at the start of the line. Type in your first two commands, hitting Enter to run each command:
> restart;
> Digits:=15;
Aside: Restarting and Digits.
Hint.
Capitalization is important in Maple code, so always make sure that Digits has a capital D! However, semicolons are optional at the end of each command. They are used when multiple commands are used together on the same Maple input.

3.

Create a new text group using the button at the top toolbar:
In this new paragraph, type in the following information, hitting enter for a new line between each part.
(d)
The title of the activity.
Hint.
The new paragraph button also provides a way to enter plain text:
Inserting paragraphs in this way will merge text and maple prompts together into a single group (as of Maple 2025). Ctrl+Shift+J and Ctrl+Shift+K are useful shortcuts for creating paragraphs after or before the current line in this way.

4.

Open up the palettes menu on the top left-hand side of Maple by clicking the small black triangle that points to the right. You may wish to use the Expression palette for the next few exercises. Closing the context panel on the right hand side of Maple will also allow you to see more of the document.

5.

Create a new execution group by using the
button. Type the expression \(5 + 2(7-4)\) and hit Enter to evaluate.
Hint.
Ctrl+J and Ctrl+K are useful shortcuts for creating execution groups after or before the current line.

6.

In a new execution group, evaluate \(\left(\dfrac{5^2 - 9}{9-5}\right)^2\text{.}\)
Hint.
Use the ^ (Shift+6) for quick exponents and the arrow keys to move the cursor. You can create a fraction by encasing the numerator, \(5^2-9\text{,}\) in a set of parentheses before dividing. Alternatively, you can highlight \(5^2-9\) and type the / key to make a fraction.

7.

In a new execution group, evaluate \(\sqrt{\dfrac{3+6^2}{4^2-3}}\text{.}\)
Hint.
To input a square root, you can always type the sqrt() command instead of using the button in the expressions palette.

8.

In a new execution group, evaluate \(\sqrt{\dfrac{3.0+6.0^2}{4.0^2-3.0}}\text{.}\)
Aside: Using decimals.

9.

Evaluate each of the expressions on a new execution group.
(a)
\(\cos\!\left(\frac{\pi}{6}\right)\)
Hint.
The mathematical constant \(\pi = 3.1415926...\) must be typed into Maple as capitalized Pi. Never type pi, unless you only wish to display the Greek letter \(\pi\) without its numerical value.
(c)
\(\exp(2)\)
Hint.
The exp(x) function is the exponential function, \(e^x\text{.}\) Never type \(e^x\) using the ’e’ key on the keyboard, as Maple will not recognize it as the exponential function. However, you can find \(e\) and the \(e^x\) function in the palettes toolbar.

10.

On each of the four Maple inputs you created in ExerciseΒ 9, add a semicolon at the end of the line, followed by the command evalf(%). For example:
Aside: Two commands at once.
> cos(Pi/6); evalf(%);
After adding the additional command to each line, run each line a second time to see two outputs: the exact form and the approximate decimal form.

11.

If you have accidentally created any additional paragraphs or execution groups that you wish to delete, then delete them now by clicking anywhere on that line and pressing Ctrl+Del on the keyboard.

12.

Organize your work by using a new section for each of ExerciseΒ 5-ExerciseΒ 9 using the
button. Be sure to clearly label each question by creating a section title immediately to the right of the arrow at the top of the section.
Hint.
You can highlight several execution groups or paragraphs with the mouse before combining them into one section. Creating sections does not work as well in document mode, so be sure to always create a new worksheet instead of a document.
The shortcuts Ctrl+. and Ctrl+, can be used to enclose execution groups or paragraphs in a section, or to remove any section enclosing an input.

13.

(Optional) Go back to the top of your worksheet and change the second line to: > Digits := 50;. Now run the entire worksheet by clicking on the button at the top toolbar: