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! 💙

Комментарии • 10

  • @thomassouza5853
    @thomassouza5853 2 года назад +3

    Very good, I loved your explanation. I will use this content for my high school physics classes. Hugs from Brazil

    • @MaeMap
      @MaeMap  2 года назад +1

      Thanks so much for the comment! I hope your students like it as well!

  • @user-ft1zm9nq9m
    @user-ft1zm9nq9m 10 месяцев назад +1

    thank you!

    • @MaeMap
      @MaeMap  7 месяцев назад

      No problem!

  • @miladsayad2935
    @miladsayad2935 Год назад

    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.

    • @randyamor3299
      @randyamor3299 Год назад

      [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

  • @H33a
    @H33a 2 года назад

    Can you explain ( solving a linear system in three variables )

    • @MaeMap
      @MaeMap  2 года назад +1

      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

    • @H33a
      @H33a 2 года назад

      @@MaeMap ok thank you very much

    • @myersstyles5305
      @myersstyles5305 2 года назад

      Hi, can you decompose a vector in three dimensional space into its xyz components?