圓面積的黎曼和
Author: 藍邦偉  老師

B(r,0)

圓面積的黎曼積分

$R=\int_{0}^{r}{2πx dx}$
     $=2π\left [ \frac{x²}{2} \right ]^r_0 $
     $=πr²$

n = 1 (slider from 1 to 100, step 1)
A = (0, 0)
B = (12.83177323656708, -0.03760782265793691)
a = Segment(A, B)
list1 = Sequence(Circle[A, i * a / n], i, 1, n)
P = Corner(1)
Q = Corner(3)
R: (x(P), 0)
S: (x(Q), 0)
u = Vector(R, S)
T: (0, y(P))
U: (0, y(Q))
v = Vector(T, U)
Q_2: 0.75 * Corner[1] + 0.25 * Corner[2]
Q_3: (x(Q_2), y(Corner[3]))
poly1, b, q_2, q_3, c = Polygon(Corner[1], Q_2, Q_3, Corner[4])