Author Topic: Vector Addition  (Read 343573 times)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Vector Addition
« on: January 30, 2004, 12:16:34 am »
Registed user can get files related to this applet for offline access.
Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
If java program did not show up, please download and install latest Java RUN TIME




You are welcomed to check out EJS version of Vector addition (sum of two vectors),too!
This java applets try to show : How to add two vector A and Binto vector C
    C = A + B = B + A
How to play:
  1. There are two methods to form a vector
  2. 1. Vector A/B originate from center of the window
      
      Left click anywhere inside the window to form vector A or B
    2. Vector A/B originate from where you first click the button
      
      Drag and lift the left mouse button to form vector A or B Vector will move to center of the window.

  
  • The program will show you how to add two vector A and B into C

  •   
      
    C = A + BorC = B+ A
    C = A - BorC= -B + A
    A - B can be transformed to A + (-B)
  • press reset button or right click the mouse button to reset.
    1. Parameters are reset to default values.
  • select info checkbox to show more information.
    1. X,Y components of each vector ...
    How to process more than two vectors :
      
    SUM = A + B + C + D
    = (A + B) + (C+D)
    = E+ F
    E = A + B and F= C + D
    Could you figure out how to process SUM = A + B + C ?
    3-D version


    The following is a flash demo for the above java applet.


    How to form a 3_D vector
      Move the mouse with the window will establish a vector at X-Y plane. Left click the mouse, then drags it up/down to change the Z components. Then release the mouse button

     When you form two vector A and B
      Another vector C = A + B will show up.
    Drag the right mouse button to change the viewing angle. Drag near the origin to change the its position.(displacement)


    Registed user can get files related to this applet for offline access.
    Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
    If java program did not show up, please download and install latest Java RUN TIME

    • Guest
    topic51
    « Reply #1 on: January 30, 2004, 12:18:43 pm »
    Subject: thanks!
    Date: Wed, 21 Oct 1998 21:21:49 -0400
    From: dgoodwin <dgoodwin@1st.net>
    To: hwang@phy03.phy.ntnu.edu.tw
    We were reviewing vector addition this evening at a study session.
    Someone asked about help from the internet, so we searched and happened
    to find your page. There were a few "ah-ha's" when the program showed
    the parallelogram method for adding vectors so clearly. Thanks.

    • Guest
    topic51
    « Reply #2 on: January 30, 2004, 12:28:18 pm »
    Subject:
    Date: Tue, 2 Feb 1999 22:39:22 -0200
    From: "Marcilio Carneiro" <marcilio_roberto@uol.com.br>
    To: <hwang@phy03.phy.ntnu.edu.tw>
    Hi Mr Hwang:
     
      I?m from Brazil I worked as Physics about 10 years ago and since
    that time I had a desire : to make softwares for Physics teaching.
    The DOS interfaces I used to have forced me to give up. Last year
    (after spendig some time learning Windows based programming) I
     restarted the project but once again I didn?t like the results. I
    used Delphi 3.0 (Pascal Object Language) and made about 100 programs
    ( mechanics and eletricity) but when I saw your programs I felt even
    more disappointed with the ones i had done . Yours are brilliant ,
    fantastic . Don?t you sell them ? I?m interested in many of them.
    One : sugestion: Don?t use weak green colors I hardly can see them .
    For instance the one you used in Vactor addition,
    Thank you and congratulations for your excellent work (I wish I was
    talented as you are)
    Marcilio Carneiro

    Fu-Kwun Hwang

    • Administrator
    • Hero Member
    • *****
    • Posts: 3062
      • Enjoy the fun of physics with simulations
    topic51
    « Reply #3 on: March 31, 2005, 05:52:05 pm »
    Registed user can get files related to this applet for offline access.
    Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
    If java program did not show up, please download and install latest Java RUN TIME


    You can change the number of vectors (drag the bar up and down),
      drag each vector (starting position, length, or direction)
    Click play to add those vectors automatically.
    Click "showsum" to view vector for the sum of those vectors.


    Registed user can get files related to this applet for offline access.
    Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
    If java program did not show up, please download and install latest Java RUN TIME

    Ahmad

    • Newbie
    • *
    • Posts: 1
    topic51
    « Reply #4 on: October 23, 2005, 01:36:07 am »
    Hi can i have the source code of the first applet
    [/b]

    repsol_23

    • Newbie
    • *
    • Posts: 2
    topic51
    « Reply #5 on: November 13, 2005, 02:31:25 pm »
    I am a graduate student at New Mexico State University working on my PhD in Physics Education. I just came across your site and wanted to just make a comment. I found this site GREAT and I am sure there is a number of applets that you have created that I would like to make use of. I hope that this will be okay with you since you are the author of the applets. I have tried to make my own but have had some trouble getting them to function properly.

    Thanks

    Fu-Kwun Hwang

    • Administrator
    • Hero Member
    • *****
    • Posts: 3062
      • Enjoy the fun of physics with simulations
    topic51
    « Reply #6 on: November 14, 2005, 10:49:41 am »
    You are welcomed to use our java applets for non-profit educational purpose.
    You will be able to get files related to any java applets at our web site
    if you are a registered user at http://www.phy.ntnu.edu.tw/ntnujava/
    Just look for a button(with label: GET APPLET FILES) at the end of the first java applet message
    (You need to login to the forum).
    If you click the button, files related to that applet will be sent to your email account automatically.

    Fu-Kwun Hwang

    repsol_23

    • Newbie
    • *
    • Posts: 2
    topic51
    « Reply #7 on: November 16, 2005, 09:05:48 am »
    I finally was able to get the codes sent to my email, the problem was in the security that our university uses. But now, I am having some other issues. I unzipped the files to my computer and when I open them they look all garbled. The graphs and animations work perfectly fine, but the letters look like a bunch of gibberish. Is this something to do with the files or am I doing something incorrectly? I was hoping to just extract the vectors animation and write them into a practice quiz that I am working on but am unsure of what the code is due to the weird lettering?

    Fu-Kwun Hwang

    • Administrator
    • Hero Member
    • *****
    • Posts: 3062
      • Enjoy the fun of physics with simulations
    topic51
    « Reply #8 on: November 16, 2005, 09:48:00 am »
    There are several html files for different language version.
    Vector.html is the english version.

    If it is still not working, may be it is due to two lines I forgot to remove in the html file
    Please remove the following two lines:

      <meta http-equiv="Content-Type" content="text/html; charset=big5">
      <meta name="GENERATOR" content="Mozilla/4.7 [en] (Win98; I) [Netscape]">

    And it should work fine.

    I have change the ZIP files so there should be no problem if you ask the ZIP file again.

    Sivasayanth

    • Newbie
    • *
    • Posts: 3
    Re: Vector Addition
    « Reply #9 on: July 14, 2007, 12:10:12 pm »
    dear Fu-Kwun Hwang

    i like your simulation

    kinematix_playa

    • Newbie
    • *
    • Posts: 1
    Re: Vector Addition
    « Reply #10 on: October 31, 2007, 07:47:16 am »
    This simulation completes me.

    *moist*

    Physicsmaster

    • Newbie
    • *
    • Posts: 2
    Re: Vector Addition
    « Reply #11 on: October 31, 2007, 08:54:40 am »
    Fu-Kwun Hwang, you are an inspiration to us all.

    Physicsmaster

    • Newbie
    • *
    • Posts: 2
    Re: Vector Addition
    « Reply #12 on: October 31, 2007, 08:27:00 pm »
    I am a school teacher and have modeled this simulation with my students and they have learned lot from this.

    Fu-Kwun Hwang

    • Administrator
    • Hero Member
    • *****
    • Posts: 3062
      • Enjoy the fun of physics with simulations
    Re: Vector Addition
    « Reply #13 on: November 01, 2007, 01:13:25 am »
    I am glad to hear that it is useful.  ;D

    lookang

    • Hero Member
    • *****
    • Posts: 1774
    • http://weelookang.blogspot.com
      • lookang web
    Re: Vector Addition
    « Reply #14 on: April 15, 2008, 05:41:04 pm »
    change log.

    change the color for show component for better color association.

    change position of letters to the vector

    added tooltips for the buttons

    added autoscale for bigger view pleasure

    i will make some change , and post it back !