USING A PYTHON-BASED CALCULATION TOOL IN TEACHING THE CONCEPTS OF THE PHOTON AND THE ELECTROMAGNETIC SPECTRUM
استفاده از ابزار محاسباتی مبتنی بر پایتون در آموزش مفاهیم فوتون و طیف الکترومغناطیسی
چکیده
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.
این مقاله به بررسی اصلیترین دشواری موجود در آموزش مباحث فوتون و طیف الکترومغناطیسی میپردازد؛ یعنی مشکل درک روابط بین کمیتها صرفاً از طریق فرمولها. به منظور تسهیل این مشکل، یک ماشینحساب فوتون با استفاده از پایتون و Tkinter توسعه یافته است. با وارد کردن طول موج به نانومتر، برنامه فرکانس فوتون، انرژی (بر حسب ژول و الکترونولت)، تکانه و معادل جرمی انرژی را محاسبه میکند و همچنین نشان میدهد که طول موج وارد شده در کدام ناحیه از طیف قرار میگیرد و در مورد نور مرئی، نام رنگ را نیز نمایش میدهد. مقاله الگوریتم، بخشهای اصلی کد، نحوه بیان فرمولها در برنامه و نمونه محاسبات از پرتو ایکس تا امواج رادیویی را ارائه میدهد و روشهای استفاده از این ابزار در کلاس درس را توصیف میکند. در این پژوهش هیچ آزمون آموزشی با دانشجویان انجام نشده است؛ سنجش اثربخشی به عنوان وظیفه مرحله بعدی تعریف شده است.