Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wmartinmimi/co-planar-vectors-resultant-calculator
Calculate the resultant vector from the inputted co-planar vectors
https://github.com/wmartinmimi/co-planar-vectors-resultant-calculator
calculator mit-license physics python vectors
Last synced: 9 days ago
JSON representation
Calculate the resultant vector from the inputted co-planar vectors
- Host: GitHub
- URL: https://github.com/wmartinmimi/co-planar-vectors-resultant-calculator
- Owner: wmartinmimi
- License: mit
- Created: 2023-09-08T14:51:02.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-09T08:32:32.000Z (over 1 year ago)
- Last Synced: 2024-12-05T23:10:07.887Z (2 months ago)
- Topics: calculator, mit-license, physics, python, vectors
- Language: Python
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Co-planar vectors resultant calculator
Calculate the resultant vector from the inputted co-planar vectors
## How to run
```shell
python main.py
```## Accepted input types
- CSV
- Manual typing in## Expected formats
- `magnitude` a constant unit, preferably N
- `direction` degrees from the vertical clockwise### CSV
```csv
[magnitude],[direction]
```## Example Output
```
Co-planar vectors resultant calculator
--------------------------------------Choose input format:
1. CSV
2. Manual
Enter option number:
> 2Enter new co-planar vector?
[Y/n]: yEnter vector details:
--------------------------------------
magnitude: 28
direction (from the vertical): 90Enter new co-planar vector?
[Y/n]: yEnter vector details:
--------------------------------------
magnitude: 17
direction (from the vertical): 24Enter new co-planar vector?
[Y/n]: nresultant vector:
--------------------------------------
magnitude: 38.21273719858552
direction: 66.02010036417545
x: 34.914522932288605
y: 15.530272779924214
```## License
Licensed under ```MIT License```