Author Topic: Magnitude of a Vector  (Read 13051 times)

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Magnitude of a Vector
« on: April 28, 2008, 05:28:35 pm »
Magnitude of a Vector

for your consideration

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Magnitude of a Vector
« Reply #1 on: April 28, 2008, 05:44:23 pm »
wow, the new version of Ejs3.47_080301 some how made my xml file


when failed to save
0 btyes

when managed to save a 8 mb file,


it was 500 kb in the html exported format.


any idea what is happening ?


Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnitude of a Vector
« Reply #2 on: April 28, 2008, 11:15:57 pm »
It must be a bug in the EJS, you can goto official web site download latest version.

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Magnitude of a Vector
« Reply #3 on: April 29, 2008, 11:04:58 am »
ya. i just downloaded the latest version and that is when it happened.

so now my xml file recovered from the .jar is 8 MB , i cant share the large xml file.

any idea how to get it back to the usual <100 kb size like in previous version  ;D


no worries now...... i managed to recover the xml due to a lucky resaving into a different file name....hahahaha.........so lucky.

attached is the xml
« Last Edit: April 29, 2008, 11:22:27 am by lookang »

Fu-Kwun Hwang

  • Administrator
  • Hero Member
  • *****
  • Posts: 3062
    • Enjoy the fun of physics with simulations
Re: Magnitude of a Vector
« Reply #4 on: April 29, 2008, 12:18:36 pm »
I just download your vector02.xml and it work fine in my EJS (ejs2006 version).

I will save my file to different filename when I want to make some major change to the code.
The problem might be come from logical error: for example: define variable x, and initialize it with 1/x.
This will cause ejs to hangup, and you might get empty file if you try to save file at that moment.

lookang

  • Hero Member
  • *****
  • Posts: 1772
  • http://weelookang.blogspot.com
    • lookang web
Re: Magnitude of a Vector
« Reply #5 on: April 29, 2008, 02:40:11 pm »
thanks for your help sir.

I will be starting another thread as magnitude of vector is not encouraged to be developed further until pedagogy and syllabus are sorted first on my end.

applet is here now
http://www.phy.ntnu.edu.tw/ntnujava/index.php?topic=674.0
« Last Edit: March 05, 2009, 04:16:27 pm by lookang »