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 post and replies

Return to the Model Inconsistencies thread
Login to post to this thread

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


Replies to Reset Button

Re: Reset Button -
Francisco Esquembre
238 Posts

Hi Emma,

Please, upload the simulation files (export from EJS as a ZIP file) in a new post, so that I can have a look at this.

Paco



OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book