1.向量下标为奇数的分量 (x1, x3, …) 累加
∑
i
=
2
n
+
1
n
∈
N
x
i
\sum_{i = 2n+1}^{n\in\mathbb{N}} x_i
i=2n+1∑n∈Nxi
2.从1到100累乘
∏
i
=
1
100
i
\prod_{i = 1}^{100} i
i=1∏100i
3.积分表达式
∫
0
2
x
2
+
2
x
+
3
d
x
\int_{0}^{2} x^2 + 2x + 3 \mathrm{d}x
∫02x2+2x+3dx
double integration = 0; double delta = 0.001; for (int x = 1; x <= 2; x += delta) integeration += x * x * delta;