LR237787 Posted October 12, 2023 Report Posted October 12, 2023 Hi all, I'm new to this forum and to MATLAB, but I would like to write some code that justifies the Heisenberg Uncertainty Principle. Has this been done before? If so, where can I find the code, or how can I write it myself? Thanks! Quote
LR237787 Posted October 12, 2023 Author Report Posted October 12, 2023 I’m also open to Python, if it makes more sense to use that. Quote
OceanBreeze Posted October 14, 2023 Report Posted October 14, 2023 On 10/13/2023 at 3:06 AM, LR237787 said: Hi all, I'm new to this forum and to MATLAB, but I would like to write some code that justifies the Heisenberg Uncertainty Principle. Has this been done before? If so, where can I find the code, or how can I write it myself? Thanks! Of course, this has already been done. Just select the option to display the math as MathML Code. <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> <mo fence="false" stretchy="false">‖<!-- ‖ --></mo> <mi>f</mi> <msubsup> <mo fence="false" stretchy="false">‖<!-- ‖ --></mo> <mn>2</mn> <mn>2</mn> </msubsup> <mo>≤<!-- ≤ --></mo> <msup> <mrow> <mo>(</mo> <msub> <mo>∫<!-- ∫ --></mo> <mrow class="MJX-TeXAtom-ORD"> <mrow class="MJX-TeXAtom-ORD"> <mi mathvariant="double-struck">R</mi> </mrow> </mrow> </msub> <mo stretchy="false">(</mo> <mi>x</mi> <mo>−<!-- − --></mo> <mi>a</mi> <msup> <mo stretchy="false">)</mo> <mn>2</mn> </msup> <mrow class="MJX-TeXAtom-ORD"> <mo stretchy="false">|</mo> </mrow> <mi>f</mi> <mo stretchy="false">(</mo> <mi>x</mi> <mo stretchy="false">)</mo> <msup> <mrow class="MJX-TeXAtom-ORD"> <mo stretchy="false">|</mo> </mrow> <mn>2</mn> </msup> <mi>d</mi> <mi>x</mi> <mo>)</mo> </mrow> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> </msup> <msup> <mrow> <mo>(</mo> <msub> <mo>∫<!-- ∫ --></mo> <mrow class="MJX-TeXAtom-ORD"> <mrow class="MJX-TeXAtom-ORD"> <mi mathvariant="double-struck">R</mi> </mrow> </mrow> </msub> <mo stretchy="false">(</mo> <mi>ξ<!-- ξ --></mi> <mo>−<!-- − --></mo> <mi>b</mi> <msup> <mo stretchy="false">)</mo> <mn>2</mn> </msup> <mrow class="MJX-TeXAtom-ORD"> <mo stretchy="false">|</mo> </mrow> <mrow class="MJX-TeXAtom-ORD"> <mover> <mi>f</mi> <mo stretchy="false">^<!-- ^ --></mo> </mover> </mrow> <mo stretchy="false">(</mo> <mi>ξ<!-- ξ --></mi> <mo stretchy="false">)</mo> <msup> <mrow class="MJX-TeXAtom-ORD"> <mo stretchy="false">|</mo> </mrow> <mn>2</mn> </msup> <mi>d</mi> <mi>ξ<!-- ξ --></mi> <mo>)</mo> </mrow> <mfrac> <mn>1</mn> <mn>2</mn> </mfrac> </msup> <mo>.</mo> </math> Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.