任意曲面的高斯定律演示
几何画板及绘图内容加载中,请稍等……
这个范例演示了任意曲面上的高斯定律。高斯定律是电磁学中的一个基本原理,它描述了电场通量与包围电荷的封闭曲面的关系。通过构造摘要中的命令,我们可以看到使用了多边形、积分等GeoGebra对象和命令来实现这一演示。适合大学物理和电磁学课程使用。
GeoGebra 命令及参数
Polygon({(0, 0), (0, 1), (8, 1), (8, 0)}) → panelSum(Zip[(((2 * k) * q) * (x - x(P)) / ((x(P) - x)^(2) + (y(P) - y)^(2))), q, {λ_1, λ_2, λ_3, λ_4}, P, {A_1, A_2, A_3, A_4}]) → ExSum(Zip[(((2 * k) * q) * (y - y(P)) / ((x(P) - x)^(2) + (y(P) - y)^(2))), q, {λ_1, λ_2, λ_3, λ_4}, P, {A_1, A_2, A_3, A_4}]) → EyPoint(Circle[A, Segment[(2, 2), (2, 4)]]) → BRotate(B + (Segment[(2, 4), (4, 4)], 0), Angle[(4, 4) - (2, 4)] + Angle[B - A] - Angle[(2, 4) - (2, 2)], B) → CRotate(C + (Segment[(4, 4), (4, 2)], 0), Angle[(4, 2) - (4, 4)] + Angle[C - B] - Angle[(4, 4) - (2, 4)], C) → DPolygon(A, B, C, D) → surface, a, b, c, dZip(Vector[P, P + (Escale * (Ex(x(P), y(P)), Ey(x(P), y(P))))], P, Sequence[A + (0, (i * a / 8)), i, 0, 7]) → list1Zip(Vector[P, P + (Escale * (Ex(x(P), y(P)), Ey(x(P), y(P))))], P, Sequence[B + ((i * b / 8), 0), i, 0, 7]) → list2Zip(Vector[P, P + (Escale * (Ex(x(P), y(P)), Ey(x(P), y(P))))], P, Sequence[C + (0, ((-i) * c / 8)), i, 0, 7]) → list3Zip(Vector[P, P + (Escale * (Ex(x(P), y(P)), Ey(x(P), y(P))))], P, Sequence[D + (((-i) * d / 8), 0), i, 0, 7]) → list4Integral((-Ex(x(A), x)), y(A), y(B)) → leftIntegral((-Ex(x(C), x)), y(C), y(D)) → rightIntegral(Ey(x, y(B)), x(B), x(C)) → topIntegral(Ey(x, y(D)), x(D), x(A)) → bottom