APS Excellence in Physics Education Award
November 2019

Education Prize Logo
Science SPORE Prize
November 2011

NSF Logo
The Open Source Physics Project is supported by NSF DUE-0442581.

Model Inconsistencies

Return to the EJS Modeling forum
Login to post to this thread

Uploaded Model
Emma Osborne
4 Posts

Hi Paco,

The file should be attached. The problem is worse for the Sun model.

Thanks

Emma

Attached File: TheGravitationalLensingEffect.jar.zip


Current Replies - View all
Re: Uploaded Model   (Francisco Esquembre - )
Reset Button
Emma Osborne
4 Posts

Hello,

I have produced a model on the gravitational lensing effect based on the Schwarzschild universe. I am finding that the program is behaving differently each time I press the reset button,  and consequently I have to press it a few times before it resets to the conditional settings I have placed. This effects the photon's initial position and consequently the results produced by the ODE. Due to the inconsistent nature of this I believe the problem may be with EJS and not with my code (although I could be wrong!). I am also finding that sometimes the program works exactly as I have programmed it to and other times it is almost as if it has a mind of its own. Any help with this would be greatly appreciated.


Many Thanks!!

Emma


Current Replies - View all
Re: Reset Button   (Francisco Esquembre - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book