Author Topic: Electric field structure and Field lines for two point charges +/-  (Read 34946 times)

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Electric field structure and Field lines for two point charges +/-
« Reply #15 on: October 09, 2010, 12:22:14 am »
I think I know what you want now. It has been updated!

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Electric field structure and Field lines for two point charges +/-
« Reply #16 on: October 09, 2010, 05:24:27 pm »
i tried to download and see it
.
it didn't look updated.

did you check it? see my picture

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Electric field structure and Field lines for two point charges +/-
« Reply #17 on: October 09, 2010, 07:23:31 pm »
I thought you were talking about the vector field. I changed it so that it re-present direction for the point at the center of of arrow  (instead of the starting point).

Now. I finally understand you want to add arrow for field lines.

It is updated!
 

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Electric field structure and Field lines for two point charges +/-
« Reply #18 on: October 09, 2010, 08:27:43 pm »
the file invalid or corrupt ?
Download EJS jar file(376kB):

the file size is too small and the web do not deploy  ;D

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Electric field structure and Field lines for two point charges +/-
« Reply #19 on: October 09, 2010, 10:20:59 pm »
Sorry! It is uploaded again.

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Electric field structure and Field lines for two point charges +/-
« Reply #20 on: October 09, 2010, 11:09:00 pm »
that is what i wanted!

the codes looks like different and amazingly difficult.
fx and fy
will study it soonest!
thanks!


Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Electric field structure and Field lines for two point charges +/-
« Reply #21 on: October 09, 2010, 11:37:18 pm »
Because you asl for arrow for each field line, so fx,fy arrays are coordinnate where the arrow are drawn. fdx,fdy are vector for the arrow.
Code are added to find fx,fy, fdx and fdy.