Skip to main content

Subsection 4.2 SageMath的编程功能

Subsubsection 4.2.1 求和

Question: How to get \(\sum\limits_{i=1}^{10} a^2\text{.}\)
Question: How to get \(\sum\limits_{i=1}^{n} a^2\) for a random positive integer \(n\text{.}\)

Subsubsection 4.2.2 SageMath交互

这是一个非常好的交互实例. 学生没有学习编程的负担, 专心于数学交互, 有利于数学思维的形成.
Figure 4.2.1. Numerical integrals using the midpoint rule