NTNUJAVA Virtual Physics Laboratory
Enjoy the fun of physics with simulations!
Backup site http://enjoy.phy.ntnu.edu.tw/ntnujava/

Easy Java Simulations (2001- ) => misc => Topic started by: lookang on April 28, 2008, 04:28:35 pm



Title: Magnitude of a Vector
Post by: lookang on April 28, 2008, 04:28:35 pm
Magnitude of a Vector

for your consideration


Title: Re: Magnitude of a Vector
Post by: lookang on April 28, 2008, 04: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 ?



Title: Re: Magnitude of a Vector
Post by: Fu-Kwun Hwang on April 28, 2008, 10:15:57 pm
It must be a bug in the EJS, you can goto official web site download latest version.


Title: Re: Magnitude of a Vector
Post by: lookang on April 29, 2008, 10: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


Title: Re: Magnitude of a Vector
Post by: Fu-Kwun Hwang on April 29, 2008, 11:18:36 am
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.


Title: Re: Magnitude of a Vector
Post by: lookang on April 29, 2008, 01: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