https://github.com/MinisterLabs/Basic-Physics
Repository for basic Physics courses in C++
https://github.com/MinisterLabs/Basic-Physics
cplusplus physics
Last synced: about 1 year ago
JSON representation
Repository for basic Physics courses in C++
- Host: GitHub
- URL: https://github.com/MinisterLabs/Basic-Physics
- Owner: MinisterLabs
- License: mit
- Created: 2024-10-07T06:44:25.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-10-09T11:59:14.000Z (over 1 year ago)
- Last Synced: 2025-03-23T14:14:00.697Z (over 1 year ago)
- Topics: cplusplus, physics
- Language: C++
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# The Coulomb's Law
MIT License · C++ · Physics
Coulomb's law, is an experimental law of physics that calculates the
amount of force between two electrically charged particles at rest.
```
+--------Formula--------+
| |
| |q1| x |q2| |
| |F| = ke ----------- |
| r^2 |
+-----------------------+
ke = Coulomb's constant, the value is: 8.9875 x 10^9 Nm^2/C^2
q1 & q2 = Electric charge (C)
r = Distance between the charges (m^2)
```
## To-Do
- [x] Redesain the UI for better readability
- [ ] Add error handler for std::cin and input value
- [ ] Add comments beside functions, variables,classes, etc.
- [ ] Add output handler with set precision to output F (N)
- [ ] Code optimation