Programming in Awk Language. LiStaLiA: Little Statistics Library in Awk. Part II

This article describes a new function of the LiStaLiA library. As I mentioned in Part I of this series of articles, I didn’t extensively test the library, so I am releasing it as an alpha version. Please let me know if you find any errors or if you improve the function, and feel free to send me your modified code!

CALCULATING STATISTICS PROPERTIES OF DATA SETS

The new functions perform a statistical analysis of the data set read by the function ReadData(). The source code of this new library functions is reported in the Appendix. The following list report all the descriptor calculated buy the functions.

Continue reading

Madelung定数の計算

To all Japanese-speaking readers, this text is part of an experiment using AI translation and WordPress. We kindly ask for your understanding and cooperation. If you find value in this initiative, please let us know. Additionally, if you notice any translation inaccuracies, we would greatly appreciate it if you could contact us. You can find the original text in English, Chinese, Italian, and German by clicking the links.

親愛なる日本語を話す読者の皆様へ、これはワードプレスを使用したAI翻訳の実験です。私の成長と改善にご協力いただければ幸いです。私の取り組みを評価していただける場合は、ぜひお知らせください。翻訳に誤りを見つけた場合は、修正するためにメッセージをお送りください。英語中国語イタリア語ドイツ語のオリジナルテキストは、リンクをクリックすることで見つけることができます。


以前の記事で、結晶の格子エネルギーにおける静電エネルギー項の計算について説明しました。この記事では、この項を計算する方法について詳しく説明し、また単純なイオン系におけるこの項の値を提供します。

晶体の総クーロン相互作用エネルギーは、個々の相互作用項の合計として与えられます。

\displaystyle V_{AB} = \frac{e^2}{4\pi \epsilon_0} \frac{Z_AZ_B}{r_{AB}} \hfill (1)

固体の結晶構造では、電荷qAとqBを持つイオン対の間の距離rABによって生じるクーロン相互作用力で構成されます。この和は、固体中のすべてのイオン対にわたって計算されます。

最初の近傍は負の重要な寄与を提供するため、この和は非常に遅く収束します。2番目の近傍原子はわずかに弱い正の項を生成します。このプロセスは無限遠まで続き、交互の符号でますます小さい値を通じて行われます。このようにして、陽イオンと陰イオンの間の引力が主導し、固体のエネルギーに有益な負の寄与を提供します。

Continue reading