I solve problem about control in arrow of velocity and work now very well.
But code in "Fixed relation" page.
[code]if(_isPlaying() && x>xmin+size && y<ymin+size ){
[b]BY the way is the original code that i find when i begin modified simulation [/b]
And code in the "initialize" page.
Second code i modified but first code is original I'm no change
And i modified variable [b]pi=3.14159[/b] to [b]PI=3.14159[/b]
When i use code you post prof ejs consul give 7 error so i back to Original code
And post for you check what wrong i made more.
About a nother problems is the same [b](velocity is slowly)[/b],,,[b]when i drag slider to value less than 30 degree simulation no work[/b].
Applet after solve problem arrow of velocity [eye]

/htdocs/ntnujava/ejsuser/37048/users/br/ahmed/airdrag1_pkg/airdrag1.propertiesFull screen applet or Problem viewing java?Add http://www.phy.ntnu.edu.tw/ to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1452.6kB):double click downloaded file to run it. (1 times by 1 users) , Download EJS source (2 times by 1 users) View EJS source