Skip to content

wmartinmimi/co-planar-vectors-resultant-calculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Co-planar vectors resultant calculator

Calculate the resultant vector from the inputted co-planar vectors

How to run

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

[magnitude],[direction]

Example Output

Co-planar vectors resultant calculator
--------------------------------------

Choose input format:
  1. CSV
  2. Manual
Enter option number:
> 2

Enter new co-planar vector?
[Y/n]: y

Enter vector details:
--------------------------------------
magnitude: 28
direction (from the vertical): 90

Enter new co-planar vector?
[Y/n]: y

Enter vector details:
--------------------------------------
magnitude: 17
direction (from the vertical): 24

Enter new co-planar vector?
[Y/n]: n

resultant vector:
--------------------------------------
magnitude: 38.21273719858552
direction: 66.02010036417545
x: 34.914522932288605
y: 15.530272779924214

License

Licensed under MIT License

About

Calculate the resultant vector from the inputted co-planar vectors

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages