Qalculate / libqalculate

Qalculate! library and CLI
https://qalculate.github.io/
GNU General Public License v2.0
1.88k stars 151 forks source link

Value of `theta_W` #664

Open UlyssesZh opened 5 months ago

UlyssesZh commented 5 months ago

The value of theta_W is 0.22290(30), which is actually $\sin^2\theta_\mathrm W$ as used in physics. This leads to confusion! Is this intended?

hanna-kn commented 5 months ago

This is the result of defining "weak mixing angle" using CODATA value and reading on Wikipedia that the weak mixing angle, or Weinberg angle, is usually denoted θW (without noticing that sin2θW is used in the NIST list). Would a reasonable solution be to simply remove θW (and theta_W) as symbols for weak mixing angle.

I also noticed that the recommended values for fundamental physical constants were updated a few days ago (the new value for the weak mixing angle is 0.22305(23)).

UlyssesZh commented 5 months ago

What about renaming it to sin2_theta_W?

hanna-kn commented 5 months ago

Done.

The new definition:

<variable>
  <_title>Weak Mixing Angle (sin²&#x03B8;w)</_title>
  <names>weak_mixing_angle,asu:sin2&#x03B8;_W,r:weinberg,aos:sin2_theta_W</names>
  <value>1-w_z_ratio^2</value>
</variable>