A Short Introduction to Maple

Similar documents
Maple User Manual Copyright Maplesoft, a division of Waterloo Maple Inc

Solve, RootOf, fsolve, isolve

Maple Quick Start. Maplesoft, a division of Waterloo Maple Inc.

Introduction to Mathcad

1 A Section A BRIEF TOUR. 1.1 Subsection Subsection 2

For more info and downloads go to: Gerrit Stols

Maple Quick Start. Introduction. Talking to Maple

1 Maple Introduction. 1.1 Getting Started. 1.2 Maple Commands

INDEX INTRODUCTION...1

Contents. Implementing the QR factorization The algebraic eigenvalue problem. Applied Linear Algebra in Geoscience Using MATLAB

A Crash Course on Limits (in class worksheet)

In this first example, we build a question that asks for the derivative of sec(x) and uses Maple to grade the response.


Math 1314 Lesson 2. Continuing with the introduction to GGB

Teaching Manual Math 2131

Chapter 5 Accumulating Change: Limits of Sums and the Definite Integral

Excel tutorial Introduction

C1M0 Introduction to Maple Assignment Format C1M1 C1M1 Midn John Doe Section 1234 Beginning Maple Syntax any

GeoGebra. 10 Lessons. maths.com. Gerrit Stols. For more info and downloads go to:

Troubleshooting Maple Worksheets: Common Problems

Some Linear Algebra Basics in Maple

The MAPLE BOOK FRANK GARVAN CHAPMAN & HALL/CRC. A CRC Press Company Boca Raton London New York Washington, D.C.

Chapter 1: An Overview of MATLAB

Basic stuff -- assignments, arithmetic and functions

STEPHEN WOLFRAM MATHEMATICADO. Fourth Edition WOLFRAM MEDIA CAMBRIDGE UNIVERSITY PRESS

Objectives. 1 Running, and Interface Layout. 2 Toolboxes, Documentation and Tutorials. 3 Basic Calculations. PS 12a Laboratory 1 Spring 2014

SHORT CUT GUIDE TO MATHCAD. J. (:. McGee and W. D. Holland

Introduction to Matlab

Introduction to Classic Maple by David Maslanka

MATLAB Programming for Numerical Computation Dr. Niket Kaisare Department Of Chemical Engineering Indian Institute of Technology, Madras

,!7IA3C1-cjfcei!:t;K;k;K;k ISBN Graphing Calculator Reference Card. Addison-Wesley s. Basics. Created in conjuction with

John's Tutorial on Everyday Mathcad (Version 9/2/09) Mathcad is not the specialist's ultimate mathematical simulator

Pre-Lab Excel Problem

Math 2 Final Exam Study Guide. Translate down 2 units (x, y-2)

hp calculators hp 39g+ & hp 39g/40g Using Matrices How are matrices stored? How do I solve a system of equations? Quick and easy roots of a polynomial

Calculus I Review Handout 1.3 Introduction to Calculus - Limits. by Kevin M. Chevalier

YOGYAKARTA STATE UNIVERSITY MATHEMATICS AND NATURAL SCIENCES FACULTY MATHEMATICS EDUCATION STUDY PROGRAM

FUNCTIONS AND MODELS

Introduction to CS graphs and plots in Excel Jacek Wiślicki, Laurent Babout,

Matlab Introduction. Scalar Variables and Arithmetic Operators

Getting to Know Maple

(Creating Arrays & Matrices) Applied Linear Algebra in Geoscience Using MATLAB

Microsoft Excel 2013: Excel Basics June 2014

Parametric Curves and Polar Coordinates

Parametric Curves and Polar Coordinates

Getting Started with TI InterActive TM

Graphing Techniques. Domain (, ) Range (, ) Squaring Function f(x) = x 2 Domain (, ) Range [, ) f( x) = x 2

Name: Dr. Fritz Wilhelm Lab 1, Presentation of lab reports Page # 1 of 7 5/17/2012 Physics 120 Section: ####

TIME 2014 Technology in Mathematics Education July 1 st -5 th 2014, Krems, Austria

GEOGEBRA: DYNAMIC MATHEMATICS MADE EASY

Calculator Basics TI-83, TI-83 +, TI-84. Index Page

Beginner s Mathematica Tutorial

Chapter 1 Introduction to MATLAB

Laboratory One Distance and Time

Introduction to MATLAB

AMS 27L LAB #2 Winter 2009

A number of changes make authoring mathematical documents in Maple easier.

Quadratic Functions CHAPTER. 1.1 Lots and Projectiles Introduction to Quadratic Functions p. 31

Introduction to Matlab. By: Dr. Maher O. EL-Ghossain

Contents. Implementing the QR factorization The algebraic eigenvalue problem. Applied Linear Algebra in Geoscience Using MATLAB

Getting Started Guide. command the brilliance of a thousand mathematicians

MTH309 Linear Algebra: Maple Guide

Proceedings of the Third International DERIVE/TI-92 Conference

3. parallel: (b) and (c); perpendicular (a) and (b), (a) and (c)

Mathcad Lecture #1 In-class Worksheet Mathcad Basics

Lab. Manual. Practical Special Topics (Matlab Programming) (EngE416) Prepared By Dr. Emad Saeid

Status Bar: Right click on the Status Bar to add or remove features.

WHICH GRAPH REPRESENTS THE FOLLOWING PIECEWISE DEFINED FUNCTION FILE

Introduction to the TI-83/84 Calculator

Final Exam Review Algebra Semester 1

Maclaurin series. To create a simple version of this resource yourself using Geogebra:

Table of contents. Jakayla Robbins & Beth Kelly (UK) Precalculus Notes Fall / 27

Quick. Efficient. Versatile. Graphing Software for Scientists and Engineers.

Spreadsheet View and Basic Statistics Concepts

Section 1.6 & 1.7 Parent Functions and Transformations

CHAPTER 5: Exponential and Logarithmic Functions

Precalculus 2 Section 10.6 Parametric Equations

EXCEL 98 TUTORIAL Chemistry C2407 fall 1998 Andy Eng, Columbia University 1998

Math 182. Assignment #4: Least Squares

Arithmetic expressions can be typed into Maple using the regular operators:

Matlab Programming MET 164 1/24

Classroom Tips and Techniques: Drawing a Normal and Tangent Plane on a Surface

Chapter 2. MathScript

4. Linear Algebra. In maple, it is first necessary to call in the linear algebra package. This is done by the following maple command

Radical Functions. Attendance Problems. Identify the domain and range of each function.

The Bisection Method versus Newton s Method in Maple (Classic Version for Windows)

Quickstart for Desktop Version

Grapher 10 Ribbon Bar

Appendix A. HINTS WHEN USING EXCEL w

Directions: You can view this Slide Show in full screen mode by following Palettes Slide Show Start Presentation (see below screen shot)

Introduction to Matlab

Dynamics and Vibrations Mupad tutorial

SECTION 1. INTRODUCTION...

Eric W. Hansen. The basic data type is a matrix This is the basic paradigm for computation with MATLAB, and the key to its power. Here s an example:

CITS2401 Computer Analysis & Visualisation

A/D Converter. Sampling. Figure 1.1: Block Diagram of a DSP System

Pre-Calculus Mr. Davis

TI-89 Titanium Workshop Saturday, July 17 th 2004

TI- Nspire Testing Instructions

Department of Chemical Engineering ChE-101: Approaches to Chemical Engineering Problem Solving Excel Tutorial VIII

Transcription:

A Short Introduction to Maple Math 232, Fall 2018 Instructor: Dr. Doreen De Leon The following sections can be seen by clicking on the arrow to the left of the section name. To hide the material, just click on the arrow again. The Basics Maple documents are saved as.mw files. They consists of files created in Worksheet or Document mode. This document has been created in Document mode. To start a Maple session, just launch Maple. If you are using an older version of Maple, you may choose to open a new document in the Worksheet or Document mode by going to the File mneu, then selecting New, followed by either Document Mode or Worksheet Mode. In Maple 18, just select New Document on the Start page. Getting Help To access the Help system, you can do one of two things: From the Help menu, select "Maple Help", or In the worksheet enter?helpoverview. The Help system opens in a separate window with two panes. The left pane has the Help Navigator, where you initiate seraches. The right pane displays the final search results. In help pages, examples are not all executable, but you can open help pages as executable worksheets. To do this, from the View menu, select Open Page as Worksheet. Then, a new worksheet window opens. Alternately, you can just copy the Examples section to a worksheet. To do this, from the Edit menu, select Copy Examples; then in the worksheet, use the Paste option of the Edit menu. Point-and-Click Interaction Maple has many built-in features that allow you to solve problems quickly without learning too many new commands. Assistants: Using the Tools > Assistants menu, you can access tools to help you accomplish various tasks. Examples include curve fitting, data analysis, optimization. Palettes: palettes are collections of related items that you can insert by clicking. Palettes contain: layouts, like an item with a superscript and subscript; matrices;

mathematical operations, such as definite integrals, with placeholders for the integrand, variable of integration, and endpoints of the interval for integration. Commands Maple also contains a set of commands and a programming language. The Maple Library: Commands are contained in the Maple library, which is divided into two groups, the main library and packages. The main library contains the most frequently used Maple commands. Packages contain related special commnads for performing tasks from such disciplines as statistics, linear algebra, etc. Some Basic Commands Note: The sections are made by choosing the Insert menu, then Section. To create a subsection, do the same but choosing Subsection. First, let us discuss data entry. To assign a value to a variable, use ":=". For example: This assigns the value of 2 to variable x. These comments are made by hitting "Shift + Enter" after typing the line, then choosing from the Insert menu Paragraph and After cursor (or by simply selecting the "Text" option from above). We can see that the variable x has been assigned the value 2 by typing the name of the variable. (2.1) 2 (2.2) In order to clear the value from a variable, we do the following: (2.3) This assigns the character 'x' to the variable x (in essence, clearing the variable). We can also assign a list of data to a Maple variable. For example, We can easily find roots of polynomials. For example, let's find the roots of the polynomial x 2-2x + 1: (2.4)

(2.5) Note : to suppress the output of a command, conclude with a colon (:). Now, we will free all variables, in effect making it like we just started our session. Plotting in Maple We may also plot graphs easily in Maple. By default, Maple will produce a continuous plot. We may also generate a scatter plot (i.e., a plot of a discontinuous or discrete set of data). For example, if we would like to plot data representing height vs. age, where: (Age, Height): (1, 75), (3, 92), (5, 108), (7, 121), (9, 130), (11, 142), (13, 155)

(2.1.1) (2.1.2) (2.1.3) Creating Functions We will briefly discuss creating your own function, and using it to do various things. First, to create a function, you may use the "->" command. For example, let's create the function f(x), where f(x) is the polynomial x 2-6x + 9. (2.2.1)

0 36 (2.2.2) (2.2.3) We can factor a polynomial, as well. (2.2.4) If you would like to save a worksheet, just go the the File menu and choose Save or Save As. Worksheets are always given a.mw extension. Worksheets may also be exported as.pdf files. You can also create functions of more than one variable. For example, we can create the function g(x, y) = x 2 + y 2-9. 2 (2.2.5)

To plot a 3-d graph of g(x, y), we use the plot3d command, as follows. Using the Linear Algebra Package Here, we will include the LinearAlgebra package. This loads all linear algebra functions. (3.1)

First, let's create matrices A and B and vector u. This is easily done using the palette to the left. (3.2) (3.3)

(3.4) We can do a lot of operations on matrices and vectors in Maple. Below are a few examples. First, let's find the eigevalues and eigenvectors of B. (3.5) We can also find the exponential of B: (3.6) Multiply the exponential of B and u. (3.7) Multiply A and B. (3.8) We can also find the determinant of a matrix. 1 (3.9)

Here is another way to create a function. Note: the semicolon lets us do multiple commands simultaneously. (3.10) Now, we can plot the three functions on one graph. Some Differential Equations Stuff

First, we will create a differential equation, which we will denote de1. (4.1) Find the general solution to the differential equation denoted by de1. (4.2) (4.3) Solve de1 with initial condition ic. (4.4) (4.5) Find the general solution of de2. (4.6) (4.7) Solve de2 with the initial conditions ic and ic2. (4.8) Now, let's clear the variables de1 and de2 so that we can use them again. (4.9) (4.10)

(4.11) (4.12) Find the series solution to the system of equations {de1, de2} with initial conditions given. The variables to be solved for have been stored in the variable fcns above. (4.13) Find the numeric solution to the system, and store the result in the variable F. Including the DEtools library gives us a number of other functions. For example, we may plot the solutions to the above differential equations. (4.14) (4.15) (4.16)

Do the same, but give the graph a title.

Get a plot of the integral curves.

Now, do a 3-d plot of the solution curve.