0% found this document useful (0 votes)
54 views

Lesson 2 - Maple Functions

Maple has many built-in functions that it knows automatically, such as absolute value, square root, exponential, natural logarithm, and trigonometric functions like sine and cosine. It also knows inverse trig functions like arcsine. Users can use these functions in Maple by calling them with the appropriate arguments, for example abs(-2) or sin(Pi/3). Help pages provide details on function names and usage.

Uploaded by

yizzy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
54 views

Lesson 2 - Maple Functions

Maple has many built-in functions that it knows automatically, such as absolute value, square root, exponential, natural logarithm, and trigonometric functions like sine and cosine. It also knows inverse trig functions like arcsine. Users can use these functions in Maple by calling them with the appropriate arguments, for example abs(-2) or sin(Pi/3). Help pages provide details on function names and usage.

Uploaded by

yizzy
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Maple's Functions 20/04/2015 8:59 pm

Lesson 2 - Maple Functions

Maple's Functions
Maple has a large library of built in functions. Some of them Maple knows as soon as it starts but others are stored in "packages"
that you must tell Maple to load before you can use them. On this page we look at some functions Maple knows when it starts.

Initially Known Functions

Maple has an large number of initially known functions. Maple knows these automatically when you first start Maple (or after using
the restart command).

Common Examples

For the absolute value of -2, type

Remember that this function is called "abs" and that abs(-2)


> abs(-2); evaluates the function with the input -2.

For the square root of 4, type

> sqrt(4);

For exponential of 0 (i.e. e0), type

> exp(0);

For natural logarithm of 2, type

> log(2);

For the sine of Pi/3, type

> sin(Pi/3);

For the names of other trig functions, see the Maple help on the
sin function by typing

Look at this help page because you may need to know the
> ?sin Maple function for cosec and it's not just "cosec".

Inverse trig functions have names like arcsin. See the arcsin help
page a complete list of inverse trig functions. Type the following
at the prompt.

On this help page you will find the inverse tan function.
> ?arcsin

Here are a few more examples.

Factor an integer into primes.


> ifactor(12);

The greatest common divisor of integers.


> igcd(6,8);

http://moodle.telt.unsw.edu.au/file.php/12406/Maple/MapleSelfPaced/lesson2/Lesson2_mapleFunctions.html Page 1 of 2
Maple's Functions 20/04/2015 8:59 pm

The least common multiple of integers.


> ilcm(6,8);

The maximum of a sequence of numbers.


> max(132,129,94,66,120);

The minimum of a sequence of numbers.


> min(132,129,94,66,120);

Binomial coefficients.
> binomial(4,2);

For some more examples, see section 2.3.1 of the First Year
Maple Notes. For a complete list of initially-known Maple
functions, type

> ?inifcns

Summary Self-test Exercise

Maple knows lots of standard functions when it starts Find the inverse tan of 2 - 3.
up. For example, sqrt, exp, sin, arcsin and other trig
[Hint: The help page for for inverse trig functions was
functions.
mentioned above.]

Answer: &pi/12
Use the mouse to select the text between the word
"Answer" and here to see the answer.

http://moodle.telt.unsw.edu.au/file.php/12406/Maple/MapleSelfPaced/lesson2/Lesson2_mapleFunctions.html Page 2 of 2

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy