summaryrefslogtreecommitdiff
path: root/src/mp-equation.c
AgeCommit message (Collapse)AuthorFilesLines
2020-01-14Fix typo: 'Avogadro' instead 'Avogrado'Pablo Barciela1-1/+1
2019-07-03Remove trailing whitespacesLaurent Napias1-2/+2
2019-05-07mp-equation: update values from physical constants to match with tooltip ↵mbkma1-7/+7
values in math-buttons.c On branch physical_constants Your branch is up-to-date with 'origin/physical_constants'. Changes to be committed: modified: src/mp-equation.c
2019-05-07mp-equation: add pre-defined physical constantsmbkma1-2/+44
This adds some fundamental physical constants: - Velocity of Light "c₀", 299,792,458 m/s - Magnetic constant, "μ₀", 1.2566370614×10⁻ N/A² - Electric constant, "ε₀", 8.85418782×10⁻¹² s⁴A²/m³kg - Newtonian constant of gravitation, "G", 6.67408×10⁻¹¹ m³/(s²kg) - Planck constant, "h", 6.62607004×10⁻³⁴ m²kg/s - Elementary charge, "e", 1.6021766208(98)×10⁻¹⁹ C - Electron mass, "mₑ", 9.10938356×10⁻³¹ kg - Proton mass, "mₚ", 1.672621898(21)×10⁻²⁷ kg - Avogrado constant, "Nₐ", 6.02214086×10²³ mol⁻¹ They are taken from https://en.wikipedia.org/wiki/Physical_constant#Universal_constants To insert them one would enter the corresponding symbol or use the gui. They are set to a MPNumber from string.
2019-04-15Add support for "pi" in addition to "π"mbkma1-3/+3
2012-11-24Update codebase.Steve Zesch1-226/+47
2012-11-16Fixed unknown variable error when using inverse trig buttons.Steve Zesch1-0/+1
2012-07-31fixing address issue of fsfPerberos1-5/+5
2011-11-08initialPerberos1-0/+493