I use this video to understand vectors.

and this is my program

https://github.com/FernyAlanis/wsq/blob/master/wsq10

CC BY 4.0 wsq10 by ferny580 is licensed under a Creative Commons Attribution 4.0 International License.