Skip to content

Semiannual project of the subject of Optical Physics, taught at Centro Universitário FEI. It consists of some programs developed in python in order to perform some calculations

License

Notifications You must be signed in to change notification settings

antuniooh/optical-physics-calculator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitHub language count GitHub repo size GitHub last commit GitHub


Logo

Math Python Physics

Table of Contents
  1. About The Project
  2. How To Run

💻 About The Project

Project 1 - Undulatory

The program performs electromagnetic wave, magnetic and electric field conversion calculations

app

1 - Electromagnetic waves - It is possible to carry out two types of conversion: "Conversion from λ to f" and "Conversion from f to λ".

The user is shown in the first type of conversion the frequency and type of electromagnetic wave. In the second, in addition to the type, the wavelength is displayed

2 - Electric and Magnetic Fields - It is possible to perform six types of calculation: "Bm field calculation", "Em field calculation", "Wave number", "Angular frequency", "Wave type with k" and "Type waveform with ω".

In the calculation of wavenumber and angular frequency it is possible to use both the frequency and the wavelength to calculate it.

It is possible to find the wave type using not only the k but also the ω

Project 2 - Polarizers

The program performs light intensity calculations between polarizers. Once it starts it is possible to select the number of polarizers.

Calculation - According to the number of polarizers, the angle value must also be entered.

app

Project 3 - Hydrogen Atom

The program performs energy, radius, wavelength, photon, emitted color and quantum number calculations.

app

1 - Quantum number: With the quantum number the user can calculate the kinetic, potential, total energy and the radius of its orbit

2 - Wavelength: The user must select the corresponding series, as well as the quantum number, in order to calculate the length and spectrum of the emitted photon.

3 - Check the photon: You must enter the wavelength and its unit, to know if the photon will ionize the hydrogen atom or not

🚀 How To Run

# Clone the repository
$ git clone https://github.com/antuniooh/optical-physics-calculator.git

# Access the project folder in your terminal / cmd
$ cd optical-physics-calculator/src

# Install the libs
$ python -m pip install -U pip
$ python -m pip install -U scipy
$ python -m pip install --upgrade pip wheel setuptools virtualenv
$ python -m pip install docutils pygments pypiwin32 kivy_deps.sdl2==0.1.* kivy_deps.glew==0.1.*
$ python -m pip install kivy_deps.gstreamer==0.1.*
$ python -m pip install kivy[base] kivy_examples --pre --extra-index-url https://kivy.org/downloads/simple/

# Go to one project
$ cd <project_folder>

# In both Windows and Linux, the execution is done by executing the following line in the terminal, or using an IDE of your choice.
$ python3 main.py

🤖 Authors

Antonio Gustavo Tainá Bueno Weverson da Silva
drawing drawing drawing
22.119.001-0 22.119.006-9 22.119.004-4

About

Semiannual project of the subject of Optical Physics, taught at Centro Universitário FEI. It consists of some programs developed in python in order to perform some calculations

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 98.6%
  • Batchfile 1.4%