USING A PYTHON-BASED CALCULATION TOOL IN TEACHING THE CONCEPTS OF THE PHOTON AND THE ELECTROMAGNETIC SPECTRUM

Authors

  • Kamalova Nilufar Ilhomovna Associate Professor of the Department of “Applied Mathematics and Programming Technologies,” Bukhara State University, Doctor of Philosophy (PhD)
  • Akramova Ferangiza Azamat qizi Student of the Department of “Applied Mathematics and Programming Technologies,” Bukhara State University

Keywords:

Photon, electromagnetic spectrum, wavelength, photon energy, Python, Tkinter, physics education, simulation, visualization.

Abstract

The article examines the main difficulty encountered when teaching the topics of the photon and the electromagnetic spectrum, namely the problem of picturing the relationships between quantities through formulas alone. To ease this problem, a photon calculator was developed using Python and Tkinter. Given a wavelength entered in nanometers, the program calculates the photon’s frequency, energy (in joules and electron-volts), momentum, and the mass equivalent of energy, and also shows which region of the spectrum the given wavelength falls into and, for visible light, the name of the color. The article presents the algorithm, the main code fragments, the way the formulas are expressed in the program, and sample calculations ranging from X-rays to radio waves, and describes ways of using the tool in the classroom. No pedagogical trial with students was conducted in this work; measuring effectiveness is defined as a task for the next stage.

Downloads

Published

2026-10-17

Issue

Section

Articles

How to Cite

USING A PYTHON-BASED CALCULATION TOOL IN TEACHING THE CONCEPTS OF THE PHOTON AND THE ELECTROMAGNETIC SPECTRUM. (2026). Web of Teachers: Inderscience Research , 4(10), 27-32. https://webofjournals.com/index.php/1/article/view/6784