Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.67 KB

README.md

File metadata and controls

30 lines (20 loc) · 1.67 KB

heisenberg is a simple plot creator, bundled with a couple of instruction to try and shed a little light on "heisenberg's uncertainty principle".

How it works:

1) As soon as it opens up, you will be able to do 3 things: Press (+) to create a new plot; Press (H) to open up a simple explanation with examples; Slide the dot at the top-right corner of the screen to change the number of measures of each plot;

2) If you choose (+) you will be asked to provide a standard deviation and a mean for any of the 3 graphs: ''

- A(k)         ⇒  y = e^{-0.5 * [(x - stDev) / mean]^2}

- Re(Ψ(x))  ⇒  y = 2 * mean * sqrt(Π) * e^[-1 * (mean * x)^2] * cos(stdDev * x)

- |Ψ(x)|^2  ⇒  y = 4 * mean^2 * Π * e^[2 * (mean * x)^2]

3) If you choose (H) a screen like below will popup (the explanation is currently in Portuguese):

Explanation.png

Scaling:

All the scaling is done independently on each type of graph (not on each graph!) and automatically. According to the user-provided value for the standard deviation, an "interesting" range of values is calculated and only that range will be ploted.

To give a simple example of all this, here is a screenshot with 3 different values of standard deviation and, for each of those values, all three types of graph are plotted in a row.

Example.png

Other features:

1) You can close a graph by clicking the button at its top left corner.

2) You can freely move any graph by clicking on top of it and dragging.