/sage-lesson-nt

Notebooks and material for a Sage lesson at Lanacaster university February 2020

Primary LanguageJupyter NotebookCreative Commons Zero v1.0 UniversalCC0-1.0

Sage Lessons at Lancaster University, February 2020

Notebooks and material for a Sage lesson at Lancaster University February 2020 built on number theory examples.

The pace might seem to be fast but this is mainly because we often just touch briefly on the various topics. The intention is that the student should become aware of the different structures and commands, so don't worry if it seems a bit too much.

An overview of the different topics covered in the lessons are as follows;

  • Lesson 1: Introduction to SageMath
    • How to run and use SageMath effectively
    • Elements of programming in Python and SageMath
    • Functions
  • Lesson 2: The Riemann Zeta function
    • Loops, control structures and list comprehensions etc.
    • First plot
  • Lesson 3: Euler-McLaurin summation formula and Bernoulli numbers
    • Symbolic expressions in SageMath
  • Lesson 4
    • Lambda functions
    • Recursive functions
    • Symbolic and numerical integrals
  • Lesson 5: Euler-McLaurin evaluation of the zeta function
    • Introduction to "Object Oriented Programming" (OOP), objects and classes in Python
  • Lesson 6: Visualization of data
    • Plotting in SageMath
    • Exporting plots
  • Lesson 7: Performance
    • Basic profiling and timing of programs
  • Lesson 8: The modular group
    • Finite and infinite groups in SageMath
    • Permutations
  • Lesson 9: Finite matrix groups
    • Finite matrix groups and group characters

Note: These lessons are completely new and currently under development in the sense that we don't know how much time they will take for students to complete or if we miss something important. Please provide feedback to the author: Fredrik Stromberg (fredrik314@gmail.com).

References

The starting point for all queries about SageMath is the official documentation page:

On this page you can find links to the reference manual, a general tutorial and a list of topical tutorials.