MAT 1221
Survey of Calculus
SageMath
http://myhome.spu.edu/lauw
Quiz
 10 minutes (5:30-5:40)
What to Expect…
 In practice, you will use a software to
help you with most of the math including
calculus.
Computer Algebra System (CAS)
 Perform numerical calculations.
 Perform symbolic computations.
 Plot graphs
2 5x
x e dx

2
ln(2.34)
43 1

The Big 3 CAS
 MATLAB ($$$$$$)
 Mathematica ($$$$$)
 MAPLE ($$$$$)
The Big 3 CAS
 MATLAB ($$$$$$)
 Mathematica ($$$$$)
Wolfram|AlphaSiri
 MAPLE ($$$$$)
The Big 3 CAS
 MATLAB ($$$$$$)
 Mathematica ($$$$$)
Wolfram|AlphaSiri
 MAPLE ($$$$$)
Unfortunately, no computer room is
available this quarter.
SageMath
 Open-source alternative to 3Ms
 Very easy to use
 Basic commands for differential and
integral calculus.
 Go through the examples with the
instructor
 Finish the classwork
How to access SageMath?
Algebra
 Expand the expression
 Hit the Evaluate button to see the result.
 
2 3 ( 4)
x x
 
Algebra
 Factorize
3 2
34 109 74
x x x
  
Differentiation
 Find the derivative of 2
1
x
x 
Plotting Graphs
 Let us plot the function and its derivative
on the same axis.
 In order to do this, we need to give
names to these functions
Plotting Graphs
 Let us call the function and its derivative
.
Plotting Graphs
 To plot individual graph, for example,
from 1 to 5, we type
Plotting Graphs
 To plot both graphs, for example, from 1
to 5, we type
Integration
 To find the indefinite integral of , we can
…
Integration
 To find the definite integral of from 1 to
5, we can …
Classwork
 Try the fun classwork

MAT1221 Sage Mathematics Calculus - Survey