幾何直觀上和與下和
Author: 藍邦偉  老師

U

U

U

L4

L8

L16

P_4 = (1.6996540911660076, 6.909497185017182)
P_3 = (0.9382658154853522, 6.866602268880302)
P_2 = (0.506126523882818, 7.638710759344145)
P_1 = (0.1851087644066498, 2.5771106551922887)
u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
f_1 = Polynomial({P_1, P_2, P_3, P_4})
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
A = Point(u)
B = Point(u)
A_1: (x(A), f_1(x(A)))
B_1: (x(B), f_1(x(B)))
n = 4 (slider from 3 to 5, step 1)
a = Segment(A, A_1)
b = Segment(B, B_1)
u_1 = UpperSum(f_1, x(A), x(B), n)
C = (0.11514335529004904, -6.130557320594382)
C_1: C + (0, 1)
C_2: C + (0, 2)
C_3: C + (0, 3)
D: C + (0.7, 0)
D_1: D + (0, 1)
D_2: D + (0, 2)
D_3: D + (0, 3)
E: D + (0.7, 0)
F: E + (0.7, 0)
G: F + (0.7, 0)
E_1: E + (0, 1)
F_1: F + (0, 1)
G_1: G + (0, 1)
E_2: E + (0, 2)
F_2: F + (0, 2)
G_2: G + (0, 2)
E_3: E + (0, 3)
F_3: F + (0, 3)
G_3: G + (0, 3)
h = Segment(C, C_3)
k_1 = Segment(D_3, D)
l = Segment(E_3, E)
m = Segment(F_3, F)
u_2 = UpperSum(f_1, x(A), x(B), 2 * n)
c = false
o = false
文字5: "U_{" + n + "}=" + u_1
u_3 = UpperSum(f_1, x(A), x(B), 4 * n)
p = false
u_4 = UpperSum(f_1, x(A), x(B), n + 10)
l_1 = LowerSum(f_1, x(A), x(B), n)
r = false
l_2 = LowerSum(f_1, x(A), x(B), 2 * n)
l_3 = LowerSum(f_1, x(A), x(B), 4 * n)
l_4 = LowerSum(f_1, x(A), x(B), n + 3)
文字9: "L_{" + n + "}=" + l_1
s = false
t = false
area = Integral(f_1, x(A), x(B))
g = Segment(F, C)
j = Segment(F_1, C_1)
i = Segment(C_2, F_2)
d = Segment(C_3, F_3)
文字6: "U_{" + (2 * n) + "}=" + u_2
文字10: "L_{" + (2 * n) + "}=" + l_2
文字7: "U_{" + (4 * n) + "}=" + u_3
文字11: "L_{" + (4 * n) + "}=" + l_3
文字8: "" + n
文字13: "" + (4 * n)
文字12: "" + (2 * n)