论文部分内容阅读
本文借助计算机的模拟功能,采用BASIC语言,给出点电荷电力线分布的仿真演示,效果良好。1 程序设计思想 如附图,Q_1和Q_2是位于(x_1,y_0)和(x_2,y_0)的两个点电荷。这两个电荷在P(x,y)点所产生的电场强度为E,且电场强度E在x和y方向的分量分别为E_x和E_y。两点电荷Q_1和Q_2各自在P点所产生的电场强度分别为(E_(1x),E_(1y))和(E_(2x),E_(2y))。
This article uses the computer’s simulation function, uses BASIC language, gives the point charge electric power line distribution simulation demonstration, the effect is good. 1 Programming Ideas As shown in the figure, Q_1 and Q_2 are two point charges located at (x_1, y_0) and (x_2, y_0). The electric field strength generated by the two charges at the P(x,y) point is E, and the components of the electric field strength E in the x and y directions are E_x and E_y, respectively. The electric field strengths generated by the two-point charges Q_1 and Q_2 at the point P are respectively (E_(1x), E_(1y)) and (E_(2x), E_(2y)).