<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>未分类 on martinphysics.club</title><link>https://martinphysics.club/categories/%E6%9C%AA%E5%88%86%E7%B1%BB/</link><description>Recent content in 未分类 on martinphysics.club</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Tue, 01 Sep 2026 00:41:58 +0000</lastBuildDate><atom:link href="https://martinphysics.club/categories/%E6%9C%AA%E5%88%86%E7%B1%BB/index.xml" rel="self" type="application/rss+xml"/><item><title>I Built a Simple Optical Simulation Tool</title><link>https://martinphysics.club/posts/wp-100028/</link><pubDate>Fri, 28 Aug 2026 03:39:45 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100028/</guid><description>&lt;p&gt;LightDraw began with a simple goal: to make optics easier to teach, explore, and understand.&#10;While building this lightweight 2D optical simulator, I incorporated real classroom needs into its design. Since light is an electromagnetic wave, I also expanded the project to support electrostatic and magnetostatic field simulations.&#10;Built with .NET, Avalonia, and SkiaSharp, LightDraw turns abstract physics into clear, interactive visualizations for teachers and students.&#10;Explore the project on &lt;a href="https://github.com/MatinxHT/LightDraw"&gt;GitHub&lt;/a&gt; or download LightDraw from the &lt;a href="https://apps.microsoft.com/detail/9P9JGS0LB77D?hl=en-us&amp;amp;gl=US"&gt;Microsoft Store&lt;/a&gt;.&#10;Special thanks to the creators and contributors of &lt;a href="https://github.com/ricktu288/ray-optics"&gt;Ray Optics Simulation&lt;/a&gt;, whose excellent work inspired this project.&#10;&lt;img src="https://martinphysics.club/images/wordpress/eletrostatic.png" alt="eletrostatic" loading="lazy" decoding="async"&gt;&#10;&#10;&lt;img src="https://martinphysics.club/images/wordpress/magnetostatic.png" alt="magnetostatic" loading="lazy" decoding="async"&gt;&#10;&#10;&lt;img src="https://martinphysics.club/images/wordpress/optics.png" alt="optics" loading="lazy" decoding="async"&gt;&#10;&#10; &#10;&lt;img src="https://martinphysics.club/images/wordpress/ScreenShot_2026-09-01_083936_088.png" alt="ScreenShot_2026-09-01_083936_088" loading="lazy" decoding="async"&gt;&#10;&lt;/p&gt;</description></item><item><title>I choose WPF as my first Windows-based App Framework in 2025</title><link>https://martinphysics.club/posts/wp-100003/</link><pubDate>Thu, 20 Mar 2025 14:04:23 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100003/</guid><description>&lt;p&gt;&lt;strong&gt;Windows Presentation Foundation&lt;/strong&gt; (&lt;strong&gt;WPF&lt;/strong&gt;) was born in November 21, 2006. At that time i was a &amp;ldquo;child&amp;rdquo; who only know use VB.NET to creat old fashion GUI Application. At that time I prefer find a app than creat one by my-996-self.Not crazy about coding.&lt;/p&gt;&#10;&lt;h4 id="the-beginning"&gt;The Beginning&lt;/h4&gt;&#10;&lt;p&gt;The meaningful time is about 2016.Microsoft released &lt;strong&gt;Universal Windows Platform&lt;/strong&gt;(&lt;strong&gt;UWP&lt;/strong&gt;) Framework,coder can code one sample to publish in Windows 10 destop/Windows 10 mobile/XBoxOne. I was so attracted to learn &lt;strong&gt;UWP&lt;/strong&gt; by Channel 9&amp;rsquo;s video.I learned how to use XAML to design an interface/space and studied .NET syntax. From compiling a simple calculator to run on my Windows 10 PC and my Lumia phone, to flashing Windows 10 IoT on a Raspberry Pi and running my self-built local network media server—those were wonderful times.Back then, in China, platforms like NetEase Cloud Music were among the first to support the &lt;strong&gt;UWP&lt;/strong&gt; framework, bringing countless surprises to users. Unfortunately, we, the 1%, still lost in market.&lt;/p&gt;</description></item><item><title>Why Is It So Hard for Chinese Students to Learn Physics and Coding Effectively</title><link>https://martinphysics.club/posts/wp-100006/</link><pubDate>Tue, 17 Sep 2024 13:01:49 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100006/</guid><description>&lt;p&gt;Recently, my former teacher asked his third-year students in a Laser Principles course (who had already studied electromagnetism/electrodynamics) to write Maxwell&amp;rsquo;s equations on the blackboard from memory. Whoever could do so would earn full marks for their participation grade.But no one could.&lt;/p&gt;&#10;&lt;p&gt;It’s worth mentioning that this university is an average institution in mainland China, and the students are mid-level undergraduates. The program is in the field of physics education.&lt;/p&gt;</description></item><item><title>Troubleshooting Property Update Issues in WPF DataGridCheckBoxColumn Bindings</title><link>https://martinphysics.club/posts/wp-100004/</link><pubDate>Tue, 03 Sep 2024 10:46:36 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100004/</guid><description>&lt;p&gt;Why does the CheckBox state change in WPF &lt;code&gt;DataGridCheckBoxColumn&lt;/code&gt; not automatically update the bound property?&lt;/p&gt;&#10;&lt;h2 id="situation"&gt;&lt;strong&gt;Situation：&lt;/strong&gt;&lt;/h2&gt;&#10;&lt;p&gt;My code has correctly implemented the binding relationship using the MVVM library, but I am unable to filter data using the checkbox in the DataGrid.&lt;/p&gt;&#10;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-csharp" data-lang="csharp"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;//model&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;public&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;class&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;SpectralPeakDataItem&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;{&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;public&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;bool&lt;/span&gt; IsUserFor { &lt;span style="color:#66d9ef"&gt;get&lt;/span&gt;; &lt;span style="color:#66d9ef"&gt;set&lt;/span&gt;; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;public&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;double&lt;/span&gt; Wavelength { &lt;span style="color:#66d9ef"&gt;get&lt;/span&gt;; &lt;span style="color:#66d9ef"&gt;set&lt;/span&gt;; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;public&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;int&lt;/span&gt; PixelPosition { &lt;span style="color:#66d9ef"&gt;get&lt;/span&gt;; &lt;span style="color:#66d9ef"&gt;set&lt;/span&gt;; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#66d9ef"&gt;public&lt;/span&gt; &lt;span style="color:#66d9ef"&gt;double&lt;/span&gt; InstensityPercentage { &lt;span style="color:#66d9ef"&gt;get&lt;/span&gt;; &lt;span style="color:#66d9ef"&gt;set&lt;/span&gt;; }&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;}&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#75715e"&gt;//ViewModel&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#a6e22e"&gt;[ObservableProperty]&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#66d9ef"&gt;private&lt;/span&gt; ObservableCollection&amp;lt;SpectralPeakDataItem&amp;gt; _mercuryArgonSpectralPeakDataItems = [];&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-xml" data-lang="xml"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;&amp;lt;ui:DataGrid&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;Grid.Column=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;0&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;Margin=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;5&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;AutoGenerateColumns=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;False&amp;#34;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#a6e22e"&gt;ItemsSource=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;{Binding MercuryArgonSpectralPeakDataItems, Mode=TwoWay}&amp;#34;&lt;/span&gt;&lt;span style="color:#f92672"&gt;&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;&amp;lt;DataGrid.Columns&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;&amp;lt;DataGridCheckBoxColumn&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Binding=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;{Binding IsUserFor, Mode=TwoWay}&amp;#34;&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Header=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;IsUserFor&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;/&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;&amp;lt;DataGridTextColumn&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Binding=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;{Binding Wavelength, Mode=TwoWay}&amp;#34;&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Header=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;Wavelength&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;/&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;&amp;lt;DataGridTextColumn&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Binding=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;{Binding PixelPosition, Mode=TwoWay}&amp;#34;&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Header=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;PixelPosition&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;/&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;&amp;lt;DataGridTextColumn&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Binding=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;{Binding InstensityPercentage, Mode=TwoWay}&amp;#34;&lt;/span&gt; &lt;span style="color:#a6e22e"&gt;Header=&lt;/span&gt;&lt;span style="color:#e6db74"&gt;&amp;#34;Percentage&amp;#34;&lt;/span&gt; &lt;span style="color:#f92672"&gt;/&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt; &lt;span style="color:#f92672"&gt;&amp;lt;/DataGrid.Columns&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;&lt;span style="color:#f92672"&gt;&amp;lt;/ui:DataGrid&amp;gt;&lt;/span&gt;&#10;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;However, in the usual event-driven code design, it works fine.So, I think this is an issue with MVVM&amp;rsquo;s data binding, as it doesn&amp;rsquo;t seem to achieve data synchronization.So next, I discovered that:In a WPF &lt;code&gt;DataGridCheckBoxColumn&lt;/code&gt;, the reason why changes in the CheckBox&amp;rsquo;s checked state do not automatically trigger property updates is primarily because the &lt;code&gt;DataGridCheckBoxColumn&lt;/code&gt; uses a binding context that may not directly reflect changes in the CheckBox state. This often involves the following issues:&lt;/p&gt;</description></item><item><title>Deploy Moonglade Blog System Manually on Linux Server</title><link>https://martinphysics.club/posts/wp-100007/</link><pubDate>Sun, 01 Sep 2024 08:05:26 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100007/</guid><description>&lt;h2 id="beginning"&gt;&lt;strong&gt;Beginning&lt;/strong&gt;&lt;/h2&gt;&#10;&lt;p&gt;Hello there! Recently, I&amp;rsquo;ve been thinking about moving my blog system from WordPress/GitHub Pages to a more reliable environment. My friend &lt;a href="https://edi.wang" title="Edi Wang's Blog"&gt;Edi Wang&lt;/a&gt; mentioned that his &lt;a href="https://github.com/EdiWang/Moonglade"&gt;Moonglade Blog System&lt;/a&gt; can be deployed without Azure, and I&amp;rsquo;ve been interested in his blog system for a long time. So, I decided to start my 996 deployment.&lt;/p&gt;&#10;&lt;h3 id="environment-setup"&gt;&lt;strong&gt;Environment Setup:&lt;/strong&gt;&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;A server (Windows/Linux; I chose a Vultr VPS with Ubuntu 24.04 LTS x64 for this guide)&lt;/li&gt;&#10;&lt;li&gt;A domain with properly configured DNS pointing to your server&lt;/li&gt;&#10;&lt;li&gt;An already set-up database(Means ctreat database,tables can be automatically creat by Moonglade)&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h3 id="some-tips"&gt;&lt;strong&gt;Some Tips:&lt;/strong&gt;&lt;/h3&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;&lt;strong&gt;Sever chosening&lt;/strong&gt; :You can opt for an Oracle &amp;lsquo;Always Free&amp;rsquo; cloud instance for the Linux server, but the firewall settings can be quite complex.If u r looking for a cheap but reliable vps,try &lt;a href="https://www.vultr.com/?ref=8538231" title="vultr aff"&gt;vultr with my aff&lt;/a&gt;.I recommend a 1 CPU, 1 GB RAM server for $5/month, which I&amp;rsquo;ve tested and found adequate for this system.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Database &amp;amp; Domain&lt;/strong&gt; : Moonglade supports multiple database systems (Microsoft SQL Server, MySQL, PostgreSQL. Please &lt;a href="https://github.com/EdiWang/Moonglade?tab=readme-ov-file#setup-database"&gt;Check this link FYI&lt;/a&gt;). Database setup is not covered in this guide. The same applies to domain registration and DNS configuration.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Why not Dockers&lt;/strong&gt; ：as my saids in title,&lt;strong&gt;an reliable environment&lt;/strong&gt;.&lt;/li&gt;&#10;&lt;li&gt;&lt;strong&gt;Building Soucre Code&lt;/strong&gt; : Using the &lt;a href="https://github.com/EdiWang/Moonglade/releases"&gt;Release Version&lt;/a&gt; is highly recommended;  avoid using the master branch.&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;h2 id="setp-to-setp-deployment"&gt;Setp to setp deployment&lt;/h2&gt;&#10;&lt;hr&gt;&#10;&lt;h3 id="get-code-and-build-project"&gt;Get code and Build project&lt;/h3&gt;&#10;&lt;p&gt;download the latest &amp;ldquo;Source code(zip)&amp;rdquo; in &lt;a href="https://github.com/EdiWang/Moonglade/releases"&gt;https://github.com/EdiWang/Moonglade/releases&lt;/a&gt; in a Linux/Windows environment.&lt;strong&gt;I&lt;/strong&gt; &lt;strong&gt;strongly recommend&lt;/strong&gt; that you start &lt;strong&gt;compiling from the source code&lt;/strong&gt;. Because every time I use the version compiled by github, strange problems will occur.&lt;/p&gt;</description></item><item><title>使用.Net搭配EF Core记录你城市的天气</title><link>https://martinphysics.club/posts/wp-100008/</link><pubDate>Fri, 08 Dec 2023 21:09:08 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100008/</guid><description>&lt;h2 id="项目简述"&gt;项目简述&lt;/h2&gt;&#10;&lt;p&gt;这个项目是我在学习.Net Core编程的时候用到的简单例子，整体就是通过Get请求获取某地区的天气信息，经过json反向序列化后写入到数据库中存储起来。通过.net6的EntityFramework我们可以很优雅地为这个小项目进行CodeFirst的设计（沿用杨中科老师的一个观点：“关系型数据库对程序员来讲只是一个存放数据模型的媒介，理想状态下程序员不用关心数据库的操作。”）这个项目将会用EntityFramework进行数据库的CURD操作，任务目标：&lt;/p&gt;</description></item><item><title>从牛顿第二定律到火箭运动方程</title><link>https://martinphysics.club/posts/wp-100010/</link><pubDate>Sat, 03 Apr 2021 17:19:03 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100010/</guid><description>&lt;p&gt;从牛顿第二定律出发，由加速度、动量的定义可以得出动量定理：&lt;/p&gt;&#10;&lt;span class="math-expression" data-display="true"&gt; F=m\frac{dv}{dt}\Rightarrow\Delta p=F\Delta t&lt;/span&gt;&#10;&#10;&lt;p&gt;假设变质量时仍然满足动量定理，讨论合外力为0的简单条件下得出动量守恒定律：&lt;/p&gt;&#10;&lt;span class="math-expression" data-display="true"&gt;\Delta p=0&lt;/span&gt;&#10;&#10;&lt;p&gt;对火箭，设箭体的对地速度为v，喷射气体对地速度为u，建立变质量动量守恒有：&lt;/p&gt;</description></item><item><title>Quantum Wave Function Visualization</title><link>https://martinphysics.club/posts/wp-100002/</link><pubDate>Thu, 04 Jun 2020 11:31:38 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100002/</guid><description>&lt;div class="video-container"&gt;&lt;iframe src="https://www.youtube-nocookie.com/embed/KKr91v7yLcM?start=1" title="YouTube video" loading="lazy" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;</description></item><item><title>Polarization of Light</title><link>https://martinphysics.club/posts/wp-100005/</link><pubDate>Fri, 22 May 2020 11:34:35 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100005/</guid><description>&lt;div class="video-container"&gt;&lt;iframe src="https://www.youtube-nocookie.com/embed/8YkfEft4p-w?start=841" title="YouTube video" loading="lazy" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen&gt;&lt;/iframe&gt;&lt;/div&gt;&#10;&#10;&lt;p&gt;Thanks Youtube Channel &lt;a href="https://www.youtube.com/channel/UCJ0yBou72Lz9fqeMXh9mkog"&gt;Physics Videos by Eugene Khutoryansky&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>求一均匀带电棒在真空中无限长带电导线的受力</title><link>https://martinphysics.club/posts/wp-100012/</link><pubDate>Thu, 26 Mar 2020 05:38:12 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100012/</guid><description>&lt;p&gt;题目：真空中有一无限长带电导线，其电荷线密度为。相距导线长度a处有一长为L的均匀带电棒AB，电荷量为Q，求AB棒的受力。&lt;/p&gt;&#10;&lt;img src="https://martinphysics.club/images/wordpress/1-e1586271199552.png" alt="1-e1586271199552" loading="lazy" decoding="async"&gt;&#10;&#10;&lt;p&gt;思路：微元法，先求场强分布，再求棒上的力元，再积分。&lt;/p&gt;</description></item><item><title>解一维谐振子</title><link>https://martinphysics.club/posts/wp-100001/</link><pubDate>Thu, 26 Mar 2020 05:28:09 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100001/</guid><description>&lt;p&gt;一维谐振子，是稳态系统。对应的是定态薛定谔方程。&lt;/p&gt;&#10;&lt;p&gt;对一维谐振子，其哈密顿量为：&lt;/p&gt;&#10;&lt;span class="math-expression" data-display="true"&gt;\hat{H}=\frac{p_{x}^{2}}{2m}+\frac{1}{2}m\omega ^{2}x^{2}&lt;/span&gt;&#10;&#10;&lt;p&gt;对应定态的薛定谔方程为：&lt;/p&gt;&#10;&lt;span class="math-expression" data-display="true"&gt;\hat{H}\psi (x)=E\psi (x),p=-i\hbar\frac{d}{dx}&lt;/span&gt;&#10;&#10;&lt;p&gt;代入可得：&lt;/p&gt;&#10;&lt;span class="math-expression" data-display="true"&gt;-\frac{\hbar^{2}}{2m}\frac{d^{2}}{dx^{2}}\psi (x)+(\frac{1}{2}m\omega ^{2}x^{2}-E)\psi (x)=0&lt;/span&gt;&#10;&#10;&lt;p&gt;上述是二阶变系数常微分方程，在不知道一个特解的情况下无法（我不会）降阶解方程，所以做变换。&lt;/p&gt;</description></item><item><title>通过旧量子论解一维无限深势阱</title><link>https://martinphysics.club/posts/wp-100011/</link><pubDate>Wed, 25 Mar 2020 05:25:04 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100011/</guid><description>&lt;p&gt;有一个质量为m的球在一个一维的盒子里运动，盒子长度是a，盒子壁不可穿透，球和盒壁的碰撞是弹性的（即碰撞不会改变球的能量），盒子是固定的；球的大小忽略不计，不考虑摩擦力：&#10;1、画出球在相空间的轨迹(至少两条)&#10;2、按照旧量子论，求出这个球的量子能级**。**&#10;3、解定态薛定谔方程。&lt;/p&gt;</description></item><item><title>解一维无限深势阱(解定态薛定谔方程)</title><link>https://martinphysics.club/posts/wp-100009/</link><pubDate>Fri, 13 Mar 2020 05:17:39 +0000</pubDate><guid>https://martinphysics.club/posts/wp-100009/</guid><description>&lt;h6 id="定态薛定谔方程求解"&gt;定态薛定谔方程求解：&lt;/h6&gt;&#10;&lt;p&gt;假设粒子在一维势场中运动，势场满足：&lt;/p&gt;&#10;&lt;span class="math-expression" data-display="true"&gt;U(x)=\left\{\begin{matrix}0,0\leq x\leq a\\+\infty,x&gt;a,x&lt;0\end{matrix}\right.&lt;/span&gt;&#10;&#10;&lt;p&gt;解：&lt;/p&gt;&#10;&lt;p&gt;设粒子的波函数为&lt;span class="math-expression" data-display="false"&gt;\psi (x)&lt;/span&gt;&#10;, 由定态薛定谔方程得：&lt;/p&gt;&#10;&lt;span class="math-expression" data-display="true"&gt;\hat{H}\psi (x)=E\psi (x)&lt;/span&gt;&#10;&#10;&lt;p&gt;其中&lt;span class="math-expression" data-display="false"&gt;\hat{H}&lt;/span&gt;&#10;为粒子的哈密顿量，为粒子动能与势能的总和，E为粒子的能量。&lt;/p&gt;</description></item></channel></rss>