Python Pop: Adding 2D Vectors and Visualizing
HTML-код
- Опубликовано: 22 авг 2024
- Python Pop is a series of quick videos explaining different functions and commands from the Python language. 💻 In this video, I go over the addition of 2- dimensional vectors and how to plot them in order to visualize the process. We start with adding just two vectors and I do a quick example at the end of the video for adding 3 different 2D vectors together. Feel free to customize your vectors with other colors and styles!
Python is a fun programming language to use. It is not only great for beginners who are just learning to code, but also intermediate and advanced coders. MaeMap is a wonderful resource for learning quick tips and tricks with Python! MaeMap posts videos weekly about math and programming which can be connected in many ways. As always do not forget to like, subscribe, and share!
Please support me: 💸 www.buymeacoff... ☕
💛 Happy learning! 💙
Very good, I loved your explanation. I will use this content for my high school physics classes. Hugs from Brazil
Thanks so much for the comment! I hope your students like it as well!
thank you!
No problem!
Hi thank you for this visualition. I copied your code and it worked like a charm!
However, I don't understand why you are using [0] and [1] for both v1 and v2, what does number exactly mean? When I used v1[0], v1[2]. It gave an error of the index is out of bound.
[0] and [1] are indexes. There are only two items in the coordinates of the vectors and indexing starts with 0, thus 0 and 1
Can you explain ( solving a linear system in three variables )
I don't think I have anything currently up for solving linear systems with three variables. I do have a few different videos for solving linear systems with 2 variables that may be helpful. (same kind of concepts apply)
ruclips.net/video/lTPw-xuX1G0/видео.html and ruclips.net/video/Bmz4Y4-EQic/видео.html
@@MaeMap ok thank you very much
Hi, can you decompose a vector in three dimensional space into its xyz components?