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.

how to use the EJSS histogram for counting of a value say theta for Rutherford angle of deflection?

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

how to use the EJSS histogram for counting of a value say theta for Rutherford angle of deflection?
lookang Avatar
lookang
245 Posts

Dear Prof Paco,

i am able to use the histogram in JavaScript flavor using the input as variable i defined as "theta". i am surprised that the y axis is counting the time value of theta, meaning if theta = 0.5 for t = 3.0 to 4.8 s, the histogram draws theta = 0.5 with a bin and the height of that bin is t = 1.8 s the duration of the value of which theta is at.

how do i make EJSS count it as a single value N =1?

the code didn't work //_view.histogram.append(theta);

attached is my source code example of Rutherford experiment, an original idea for a EJSS that i just created yesterday.

http://iwant2study.org/ospsg/index.php/interactive-resources/physics/06-quantum-physics/02-nuclear/324-rutherford-s-atomic-model

 

thank you very much for making EJSS my number one choice modeling tool!

Post edited December 17, 2015 at 8:14 PM EST.

Attached File: ejss_src_ruthorford.zip


OSP@SG blog
OSP@SG Digital Library

Current Replies - View all
Re: how to use the EJSS h...   (lookang - )
OSP Projects:
Open Source Physics - EJS Modeling
Tracker
Physlet Physics
Physlet Quantum Physics
STP Book