A PYTHON SIMULATION PLATFORM FOR YOUNG'S DOUBLE-SLIT INTERFERENCE AND DOUBLE-SLIT DIFFRACTION
HUANG Yanhua;CHEN Huanghui;WANG Jincan;CHEN Jinhe;RONG Xiaoyan;XU Jiale;YU Jiamin;
Abstract:
Based on Python libraries such as Matplotlib, Numpy, and Py Qt5, this paper designs and develops a simulation platform for the Young's double-slit interference and doubleslit diffraction experiments. The simulation platform can dynamically display the optical paths, spectra, and intensity variations corresponding to double-slit interference and diffraction in real time by adjusting experimental parameters such as wavelength, slit width, slit separation, screen distance, and medium refractive index. Additionally, the double-slit interference project discusses the color spectrum formed by trichromatic light as the light source, while the double-slit diffraction project features a discussion on the missing-order phenomenon. The platform also embeds animations of the double-slit interference optical path principle made with Geo Gebra and a 3D animation of the double-slit diffraction experiment made with Solid Works, vividly illustrating the mechanisms of double-slit interference and the experimental process of double-slit diffraction. This simulation platform helps students understand abstract optical theories and formulas, analyze the differences and connections between doubleslit interference and diffraction, and serves as an effective auxiliary tool for both theoretical and experimental teaching in wave optics.
Key Words: Young's double-slit interference;double-slit diffraction;Python;analogue simulation
Foundation: 福建省中青年教师教育科研项目(JAT220530);; 集美大学诚毅学院大学生创新创业训练计划项目(CJ24006);集美大学诚毅学院教育教学研究项目(CJ25027)
Authors: HUANG Yanhua;CHEN Huanghui;WANG Jincan;CHEN Jinhe;RONG Xiaoyan;XU Jiale;YU Jiamin;
References:
- [1]白旭峰,杨艳丽,曲保平.杨氏双缝实验中的干涉与衍射现象[J].光源与照明,2021(7):45-46.BAI X F, YANG Y L, QU B P. Interference and diffraction phenomena in Young's double-slit experiment[J]. Light Source&Lighting, 2021(7):45-46.(in Chinese)
- [2]李栋玉,时有明,张廷宪.杨氏双缝干涉实验的条纹分布研究[J].实验技术与管理,2019,36(10):120-122,126.LI D Y, SHI Y M, ZHANG T X. Study on fringe distribution of Young's double slit interference experiment[J]. Experimental Technology and Management, 2019, 36(10):120-122, 126.(in Chinese)
- [3]李小芳,张宇涵,郭宇翔,等.基于Python的杨氏双缝干涉和衍射的仿真模拟[J].大学物理实验,2024,37(5):113-117.LI X F, ZHANG Y H, GUO Y X, et al. Simulation of Yang's double slit interference and diffraction based on Python[J]. Physical Experiment of College, 2024, 37(5):113-117.(in Chinese)
- [4]马书炳,张辉,单会会,等.双缝干涉和衍射计算机数值模拟与演示[J].物理实验,2017,37(S1):9-10,13.MA S B, ZHANG H, SHAN H H, et al. Demonstration and computer simulation of double slit interference and diffraction based on Matlab[J]. Physics Experimentation,2017, 37(S1):9-10, 13.(in Chinese)
- [5]张兴坊,刘凤收,闫昕,等.基于MATLAB GUI的杨氏双缝干涉仿真动画设计[J].高师理科学刊,2021,41(9):98-101,110.ZHANG X F, LIU F S, YAN X, et al. Animation design of Young's double slit interference simulation based on MATLAB GUI[J]. Journal of Science of Teachers'College and University, 2021, 41(9):98-101, 110.(in Chinese)
- [6]任刘娜,付文慧,苏艳丽,等.基于Python的光学现象可视化分析[J].大学物理实验,2024,37(1):104-108.REN L N, FU W H, SU Y L, et al. Visualization of optical phenomena based on Python[J]. Physical Experiment of College, 2024, 37(1):104-108.(in Chinese)
- [7]毛俊健,顾牡.大学物理学[M]. 3版.北京:高等教育出版社,2020.MAO J J, GU M. College physics[M]. 3rd ed. Beijing:Higher Education Press, 2020.(in Chinese)
- [8]胡捷.白光干涉条纹色偏移机理与校正技术研究[D].南京:南京理工大学,2019.HU J. Research on mechanism and correction of color deviation for white light interference fringes[D]. Nanjing:Nanjing University of Science&Technology, 2019.(in Chinese)
- [9]王烨,王岩,张志峰,等.白光杨氏双缝干涉实验的MATLAB仿真[J].大学物理实验,2024,37(6):99-104.WANG Y, WANG Y, ZHANG Z F, et al. MATLAB Simulation of Young's double-slit interference experiment with a white light source[J]. Physical Experiment of College,2024, 37(6):99-104.(in Chinese)
- HUANG Yanhua
- CHEN Huanghui
- WANG Jincan
- CHEN Jinhe
- RONG Xiaoyan
- XU Jiale
- YU Jiamin
- Chengyi College
- Jimei University
- HUANG Yanhua
- CHEN Huanghui
- WANG Jincan
- CHEN Jinhe
- RONG Xiaoyan
- XU Jiale
- YU Jiamin
- Chengyi College
- Jimei University