100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Summary

APM2616 - Computer Algebra Summary

Rating
-
Sold
2
Pages
45
Uploaded on
07-03-2022
Written in
2021/2022

This is a summary of the APM2616 - Computer Algebra module from the University of South Africa












Whoops! We can’t load your doc right now. Try again or contact support.

Document information

Uploaded on
March 7, 2022
Number of pages
45
Written in
2021/2022
Type
Summary

Content preview

Contents
Unit 2............................................................................................................................................................. 3
Identifiers and assignments ...................................................................................................................... 3
Input and output ....................................................................................................................................... 3
Types ......................................................................................................................................................... 3
Unit 3............................................................................................................................................................. 4
Simplification and substitution ................................................................................................................. 4
Looping and branching.............................................................................................................................. 5
Unit 4............................................................................................................................................................. 6
Functions ................................................................................................................................................... 6
Differentiation........................................................................................................................................... 7
Integration ................................................................................................................................................ 8
Unit 5............................................................................................................................................................. 8
Data types ................................................................................................................................................. 8
Packages.................................................................................................................................................... 9
Unit 6........................................................................................................................................................... 10
Procedures .............................................................................................................................................. 10
Unit 7........................................................................................................................................................... 11
Algebraic equations ................................................................................................................................ 11
Ordinary differential equations .............................................................................................................. 12
Recurrence relations ............................................................................................................................... 13
Unit 8........................................................................................................................................................... 15
Taylor series ............................................................................................................................................ 15
General series ......................................................................................................................................... 17
Extracting the coefficients of a series ..................................................................................................... 18
Unit 9........................................................................................................................................................... 19
The command: collect............................................................................................................................. 19
The command: combine ......................................................................................................................... 19
The command: rewrite ........................................................................................................................... 20
The command: partfrac .......................................................................................................................... 21
The command: rectform ......................................................................................................................... 22
The command: radsimp .......................................................................................................................... 24

, The command: assume ........................................................................................................................... 24
The command: limit ................................................................................................................................ 26
Unit 10......................................................................................................................................................... 27
Numerical Packages ................................................................................................................................ 27
Linear Algebra: .................................................................................................................................... 27
Solutions of Algebraic Equations or System of Equations: ................................................................. 27
Definite Equations:.............................................................................................................................. 29
Ordinary Differential Equations (ODEs): ............................................................................................. 29
Unit 11......................................................................................................................................................... 31
Graphical Packages (2D).......................................................................................................................... 31
Creating a plot of a given function:..................................................................................................... 31
Scene Options: .................................................................................................................................... 32
Parametric and Other Plots: ............................................................................................................... 32
Other 2D Plots: ........................................................................................................................................ 33
Unit 12......................................................................................................................................................... 36
Graphical Packages (3D).......................................................................................................................... 36
Plots of Function in 3D ........................................................................................................................ 36
Customized Graphs: ............................................................................................................................ 38
Unit 13......................................................................................................................................................... 40
LaTeX (Document Structure)................................................................................................................... 40
Commands (in CMD): .......................................................................................................................... 40
Structure: ............................................................................................................................................ 40
Unit 14......................................................................................................................................................... 42
LaTeX (Mathematical Expressions) ..................................................................................................... 42
MuPAD & LaTeX ...................................................................................................................................... 43
Packages:............................................................................................................................................. 43
Unit 15......................................................................................................................................................... 44
LaTeX (Graphics & Tables) ...................................................................................................................... 44

,APM2616
Unit 2
Identifiers and assignments




Input and output




Protocol(“ex.1”); → will save a human readable file but is not readable by MUPAD

Write(“temp.out”); → will save a session file readable by MUPAD and by humans although
it is NOT in prettyprint

Read(“ex.2”); → used to input a file with commands and will be executed, Note
READPATH must be set



Types
Domtype(a); → using this command will tell you what type the parameter <a> is

DOM_IDENT → an identifier not yet set with assignment

DOM_INT → integer

DOM_RAT → rational

DOM_FLOAT → real number (can convert to float by multiplying by
a float like 1.0

DOM_COMPLEX → any real, rational or int with I is complex

, DOM_STRING → characters enclosed in quotes

DOM_BOOL → values of TURE or FALSE

DOM_LIST → x: = [2.0, I,7, x^2];

DOM_SET → a: = {1,2, x^2, x^3, 2, x^2};

DOM_EXPR → y: = 1 + x^2;

DOM_ARRAY →

DOM_TABLE →

DOM_PROC →

DOM_POLY →



Unit 3
Simplification and substitution




Simplify(f,<exp,ln,sin,cos,sqrt,logic>); → used to simplify expressions where
the first parameter is the expression you are trying to simplify and the optional parameter is used to
restrict attention to a special class of simplification

Expand(f); → is used to transform a product of sums into a sum of products

Factor(f); → used for factoring expressions and polynomials

Normal(f); → expands the numerator and denominator of an expression

Subs(a + b*a, a = 4); → used to substitute a value for an identifier in an expression

Hold(sin); → used to substitute system functions such as sin, cos, etc. It stops the system from
evaluating the function

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
raynohattingh University of South Africa (Unisa)
View profile
Follow You need to be logged in order to follow users or courses
Sold
17
Member since
3 year
Number of followers
13
Documents
5
Last sold
10 months ago

5,0

1 reviews

5
1
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can immediately select a different document that better matches what you need.

Pay how you prefer, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card or EFT and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions