摘要
利用JavaScript和Canvas等编写了一个程序,可以用来同时描绘多个点电荷的电场线和等势面.本程序可以直接在网络浏览器中运行,以网页的形式显示出多个点电荷的电场线和等势面的分布图.电荷数量可选,每个电荷的电荷量大小可在一定范围内任意设置.程序界面形象直观,方便实用,运行速度快,具有较高的实际教学和应用价值.
A program which is written in JavaScript and Canvas is introduced to draw the electric field lines and equipotential surfaces of multiple electric charges. This program can be run in browser and shown the electric field lines and equipotential surfaces on the website. It is variable in the number and the quantity of electric charges. It is easy to use and quick to run and it has comparatively higher value in class and application.
作者
徐维祯
林国华
李鹏飞
Xu Weizhen Lin Guohua Li Pengfei(Watercraft College, Zhenjiang, Jiangsu 212003)
出处
《物理通报》
2016年第12期46-48,共3页
Physics Bulletin