Skip to content

Commit

Permalink
Add Faraday constant
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur-GYT committed Jan 5, 2024
1 parent 803c58a commit 61a2645
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/math_toolbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,8 @@ constexpr ToolboxMessageTree ConstantsChildren[] = {
I18n::Message::SpeedOfLight),
ToolboxMessageTree::Leaf(I18n::Message::ElementaryChargeSymbol,
I18n::Message::ElementaryCharge),
ToolboxMessageTree::Leaf(I18n::Message::FaradaySymbol,
I18n::Message::Faraday),
ToolboxMessageTree::Leaf(I18n::Message::GravitationalConstantSymbol,
I18n::Message::GravitationalConstant),
ToolboxMessageTree::Leaf(I18n::Message::AccelerationOfGravitySymbol,
Expand Down
1 change: 1 addition & 0 deletions apps/toolbox.de.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ UnitConversion = "Einheiten Umrechnung von a in b"
Constants = "Konstanten"
SpeedOfLight = "Lichtgeschwindigkeit"
ElementaryCharge = "Elementarladung"
Faraday = "Faraday-Konstante"
GravitationalConstant = "Gravitationskonstante"
AccelerationOfGravity = "Fallbeschleunigung"
BoltzmannConstant = "Boltzmann-Konstante"
Expand Down
1 change: 1 addition & 0 deletions apps/toolbox.en.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ UnitConversion = "Manual conversion from unit a to b"
Constants = "Constants"
SpeedOfLight = "Speed of light in a vacuum"
ElementaryCharge = "Elementary charge"
Faraday = "Faraday constant"
GravitationalConstant = "Gravitational constant"
AccelerationOfGravity = "Acceleration of gravity"
BoltzmannConstant = "Boltzmann constant"
Expand Down
1 change: 1 addition & 0 deletions apps/toolbox.es.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ UnitConversion = "Conversión manual de a en b"
Constants = "Constantes"
SpeedOfLight = "Velocidad de la luz"
ElementaryCharge = "Carga eléctrica elemental"
Faraday = "Constante de Faraday"
GravitationalConstant = "Constante de gravitación universal"
AccelerationOfGravity = "Aceleración de la gravedad"
BoltzmannConstant = "Constante de Boltzmann"
Expand Down
1 change: 1 addition & 0 deletions apps/toolbox.fr.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ UnitConversion = "Conversion manuelle de a en b"
Constants = "Constantes"
SpeedOfLight = "Vitesse de la lumière dans le vide"
ElementaryCharge = "Charge élémentaire"
Faraday = "Constante de Faraday"
GravitationalConstant = "Constante gravitationnelle"
AccelerationOfGravity = "Accélération de la pesanteur"
BoltzmannConstant = "Constante de Boltzmann"
Expand Down
1 change: 1 addition & 0 deletions apps/toolbox.it.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ UnitConversion = "Conversione manuale da a a b"
Constants = "Costanti"
SpeedOfLight = "Velocità della luce"
ElementaryCharge = "Carica elementare"
Faraday = "Costante di Faraday"
GravitationalConstant = "Costante gravitazionale"
AccelerationOfGravity = "Accelerazione di gravità"
BoltzmannConstant = "Costante di Boltzman"
Expand Down
1 change: 1 addition & 0 deletions apps/toolbox.nl.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ UnitConversion = "Handmatige conversie van eenheden"
Constants = "Constanten"
SpeedOfLight = "Lichtsnelheid in een vacuüm"
ElementaryCharge = "Elementaire lading"
Faraday = "Faradayconstante"
GravitationalConstant = "Gravitatieconstante"
AccelerationOfGravity = "Valversnelling"
BoltzmannConstant = "Constante van Boltzmann"
Expand Down
1 change: 1 addition & 0 deletions apps/toolbox.pt.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ UnitConversion = "Conversão manual de unidades"
Constants = "Constantes"
SpeedOfLight = "Velocidade da luz no vazio"
ElementaryCharge = "Carga elementar"
Faraday = "Constante de Faraday"
GravitationalConstant = "Constante de gravitação universal"
AccelerationOfGravity = "Aceleração da gravidade"
BoltzmannConstant = "Constante de Boltzmann"
Expand Down
1 change: 1 addition & 0 deletions apps/toolbox.universal.i18n
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ UnitMagneticFieldTesla = "Tesla"
UnitInductanceHenry = "Henry"
SpeedOfLightSymbol = "_c"
ElementaryChargeSymbol = "_e"
FaradaySymbol = "_F"
GravitationalConstantSymbol = "_G"
AccelerationOfGravitySymbol = "_g0"
BoltzmannConstantSymbol = "_k"
Expand Down
1 change: 1 addition & 0 deletions poincare/include/poincare/constant.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ class ConstantNode final : public ExpressionNode {
ConstantInfo{k_exponentialEName, 2, M_E, nullptr},
ConstantInfo{"_c", 3, 299792458.0, "_m/_s"},
ConstantInfo{"_e", 3, 1.602176634e-19, "_C"},
ConstantInfo{"_F", 3, 96485.3321233, "_C*_mol^-1"},
ConstantInfo{"_G", 3, 6.67430e-11, "_m^3*_kg^-1*_s^-2"},
ConstantInfo{"_g0", 3, 9.80665, "_m/_s^2"},
ConstantInfo{"_k", 3, 1.380649e-23, "_J/_K"},
Expand Down

0 comments on commit 61a2645

Please sign in to comment.