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

Easy Java Simulations (2001- ) => Questions related to EJS => Topic started by: andresgo on June 03, 2011, 09:47:39 am



Title: EJS physics example/board:23-100-
Post by: andresgo on June 03, 2011, 09:47:39 am
Ive been trying to do a physics simulator that calculates the Work and the Force and that shows acceleration, displacement and time and you put the mass, the initial velocity, initial height and gravity. I'm having problems doing it, what i have is the image attached above and i want to know if you can  tell me what to do, because I'm lost and i don't know much calculus. if you could do like a fast example you would save my life and my grades :D. Please please help me


Title: Re: EJS physics example/board:23-100-
Post by: Fu-Kwun Hwang on June 03, 2011, 04:35:00 pm
I can not find the image (there is no attachment).
Are you using EJS to create simulation?

You need to describe your physics model and how you are going to do.
Otherwise, I do not know how to help!


Title: Re: EJS physics example/board:23-100-
Post by: lookang on June 03, 2011, 08:29:26 pm
please attach your source file so that we can help u.

u have already made something from an email MSN Windos live messenger 2009 te extranio   


Title: Re: EJS physics example/board:23-100-
Post by: andresgo on June 04, 2011, 01:10:14 am
how do i attach something?


Title: Re: EJS physics example/board:23-100-
Post by: lookang on June 04, 2011, 10:25:41 am
how do i attach something?
at the bottom left of the posting frame
under  Additional Options...
Attach:    (more attachments)
select Choose file and attach your XML


Title: Re: EJS physics example/board:23-100-
Post by: andresgo on June 06, 2011, 08:02:07 am
OK thats my simulator, i need help with the calculus part and the formulas


Title: Re: EJS physics example/board:23-100-
Post by: lookang on June 06, 2011, 08:37:24 am
is this what you want?
there no need for calculus if when calculating the work done and force since the only force i see in your simulation is gravity force.

workdone by gravity force= m*g*(yi-y);
force = m*g;