math-exercises 2.2.3 → 2.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (500) hide show
  1. package/lib/exercises/exercise.d.ts +2 -1
  2. package/lib/exercises/exercise.d.ts.map +1 -1
  3. package/lib/exercises/math/calcul/digitDecimalRank.js +4 -4
  4. package/lib/exercises/math/calcul/digitRank.js +4 -4
  5. package/lib/exercises/math/calcul/digitRankNumber.d.ts +8 -0
  6. package/lib/exercises/math/calcul/digitRankNumber.d.ts.map +1 -0
  7. package/lib/exercises/math/calcul/digitRankNumber.js +57 -0
  8. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.d.ts.map +1 -1
  9. package/lib/exercises/math/calcul/fractions/fractionAndIntegerDivision.js +34 -0
  10. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.d.ts.map +1 -1
  11. package/lib/exercises/math/calcul/fractions/fractionAndIntegerProduct.js +17 -0
  12. package/lib/exercises/math/calcul/fractions/fractionsDivision.d.ts.map +1 -1
  13. package/lib/exercises/math/calcul/fractions/fractionsDivision.js +23 -0
  14. package/lib/exercises/math/calcul/fractions/fractionsProduct.d.ts.map +1 -1
  15. package/lib/exercises/math/calcul/fractions/fractionsProduct.js +15 -0
  16. package/lib/exercises/math/calcul/index.d.ts +1 -0
  17. package/lib/exercises/math/calcul/index.d.ts.map +1 -1
  18. package/lib/exercises/math/calcul/index.js +1 -0
  19. package/lib/exercises/math/calcul/proportionality/index.d.ts +2 -0
  20. package/lib/exercises/math/calcul/proportionality/index.d.ts.map +1 -1
  21. package/lib/exercises/math/calcul/proportionality/index.js +2 -0
  22. package/lib/exercises/math/calcul/proportionality/scaleCalculation.d.ts +9 -0
  23. package/lib/exercises/math/calcul/proportionality/scaleCalculation.d.ts.map +1 -0
  24. package/lib/exercises/math/calcul/proportionality/scaleCalculation.js +90 -0
  25. package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts +9 -0
  26. package/lib/exercises/math/calcul/proportionality/scaleUsage.d.ts.map +1 -0
  27. package/lib/exercises/math/calcul/proportionality/scaleUsage.js +95 -0
  28. package/lib/exercises/math/calcul/rounding/rounding.d.ts.map +1 -1
  29. package/lib/exercises/math/calcul/rounding/rounding.js +18 -0
  30. package/lib/exercises/math/calculLitteral/distributivity/allIdentities.d.ts.map +1 -1
  31. package/lib/exercises/math/calculLitteral/distributivity/allIdentities.js +1 -0
  32. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts +7 -0
  33. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.d.ts.map +1 -0
  34. package/lib/exercises/math/calculLitteral/distributivity/canonicalFormDevelopment.js +60 -0
  35. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.d.ts.map +1 -1
  36. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivity.js +31 -1
  37. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts +9 -0
  38. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.d.ts.map +1 -0
  39. package/lib/exercises/math/calculLitteral/distributivity/doubleDistributivityWithCoeff.js +86 -0
  40. package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.d.ts.map +1 -1
  41. package/lib/exercises/math/calculLitteral/distributivity/firstIdentity.js +21 -2
  42. package/lib/exercises/math/calculLitteral/distributivity/index.d.ts +2 -0
  43. package/lib/exercises/math/calculLitteral/distributivity/index.d.ts.map +1 -1
  44. package/lib/exercises/math/calculLitteral/distributivity/index.js +2 -0
  45. package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.d.ts.map +1 -1
  46. package/lib/exercises/math/calculLitteral/distributivity/secondIdentity.js +23 -2
  47. package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.d.ts.map +1 -1
  48. package/lib/exercises/math/calculLitteral/distributivity/simpleDistributivity.js +17 -2
  49. package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.d.ts.map +1 -1
  50. package/lib/exercises/math/calculLitteral/distributivity/thirdIdentity.js +21 -2
  51. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.d.ts.map +1 -1
  52. package/lib/exercises/math/calculLitteral/equation/equationSimpleSquare.js +26 -1
  53. package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.d.ts.map +1 -1
  54. package/lib/exercises/math/calculLitteral/equation/equationType1Exercise.js +18 -2
  55. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.d.ts.map +1 -1
  56. package/lib/exercises/math/calculLitteral/equation/equationType2Exercise.js +19 -2
  57. package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.d.ts.map +1 -1
  58. package/lib/exercises/math/calculLitteral/equation/equationType3Exercise.js +15 -2
  59. package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.d.ts.map +1 -1
  60. package/lib/exercises/math/calculLitteral/equation/equationType4Exercise.js +20 -5
  61. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.d.ts.map +1 -1
  62. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquation.js +24 -1
  63. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.d.ts.map +1 -1
  64. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType1.js +20 -1
  65. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.d.ts.map +1 -1
  66. package/lib/exercises/math/calculLitteral/equation/firstDegreeEquationIntType2.js +19 -3
  67. package/lib/exercises/math/calculLitteral/equation/fractionEquation.d.ts.map +1 -1
  68. package/lib/exercises/math/calculLitteral/equation/fractionEquation.js +24 -8
  69. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.d.ts.map +1 -1
  70. package/lib/exercises/math/calculLitteral/equation/multiplicationEquation.js +21 -2
  71. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.d.ts.map +1 -1
  72. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq1.js +24 -4
  73. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.d.ts.map +1 -1
  74. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq2.js +25 -5
  75. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.d.ts.map +1 -1
  76. package/lib/exercises/math/calculLitteral/factorisation/factoIdRmq3.js +19 -0
  77. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.d.ts.map +1 -1
  78. package/lib/exercises/math/calculLitteral/factorisation/factoType1Exercise.js +1 -0
  79. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts +8 -0
  80. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.d.ts.map +1 -0
  81. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalForm.js +77 -0
  82. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts +8 -0
  83. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.d.ts.map +1 -0
  84. package/lib/exercises/math/calculLitteral/factorisation/factorizeCanonicalFormWithSqrt.js +80 -0
  85. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts +2 -0
  86. package/lib/exercises/math/calculLitteral/factorisation/index.d.ts.map +1 -1
  87. package/lib/exercises/math/calculLitteral/factorisation/index.js +2 -0
  88. package/lib/exercises/math/conversion/lengthConversion.d.ts.map +1 -1
  89. package/lib/exercises/math/conversion/lengthConversion.js +18 -4
  90. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.d.ts.map +1 -1
  91. package/lib/exercises/math/equaDiff/equaDiffGeneralForme.js +1 -0
  92. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts +10 -0
  93. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.d.ts.map +1 -0
  94. package/lib/exercises/math/functions/affines/affineExpressionFromTwoImages.js +81 -0
  95. package/lib/exercises/math/functions/affines/index.d.ts +1 -0
  96. package/lib/exercises/math/functions/affines/index.d.ts.map +1 -1
  97. package/lib/exercises/math/functions/affines/index.js +1 -0
  98. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.d.ts.map +1 -1
  99. package/lib/exercises/math/functions/logarithm/log10PowerSimplifying.js +12 -2
  100. package/lib/exercises/math/functions/trinoms/index.d.ts +2 -0
  101. package/lib/exercises/math/functions/trinoms/index.d.ts.map +1 -1
  102. package/lib/exercises/math/functions/trinoms/index.js +2 -0
  103. package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.d.ts +5 -0
  104. package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.d.ts.map +1 -0
  105. package/lib/exercises/math/functions/trinoms/solveEquationByFactorisation.js +44 -0
  106. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.d.ts +9 -0
  107. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.d.ts.map +1 -0
  108. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationByFactorisation.js +134 -0
  109. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.d.ts +7 -0
  110. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.d.ts.map +1 -0
  111. package/lib/exercises/math/functions/trinoms/solveSecondDegreeEquationFromCano.js +59 -0
  112. package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.d.ts.map +1 -1
  113. package/lib/exercises/math/geometry/vectors/scalarProductViaCoords.js +1 -0
  114. package/lib/exercises/math/index.d.ts +1 -0
  115. package/lib/exercises/math/index.d.ts.map +1 -1
  116. package/lib/exercises/math/index.js +1 -0
  117. package/lib/exercises/math/percent/applyPercent.d.ts.map +1 -1
  118. package/lib/exercises/math/percent/applyPercent.js +20 -2
  119. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts +11 -0
  120. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.d.ts.map +1 -0
  121. package/lib/exercises/math/sequences/arithmetic/arithmeticFindRandomTermFromTwoTerms.js +49 -0
  122. package/lib/exercises/math/sequences/arithmetic/index.d.ts +1 -0
  123. package/lib/exercises/math/sequences/arithmetic/index.d.ts.map +1 -1
  124. package/lib/exercises/math/sequences/arithmetic/index.js +1 -0
  125. package/lib/exercises/math/spaceGeometry/index.d.ts +2 -0
  126. package/lib/exercises/math/spaceGeometry/index.d.ts.map +1 -0
  127. package/lib/exercises/math/spaceGeometry/index.js +17 -0
  128. package/lib/exercises/math/spaceGeometry/vectors/index.d.ts +4 -0
  129. package/lib/exercises/math/spaceGeometry/vectors/index.d.ts.map +1 -0
  130. package/lib/exercises/math/spaceGeometry/vectors/index.js +19 -0
  131. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts +5 -0
  132. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.d.ts.map +1 -0
  133. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorCoordinatesFromPoints.js +52 -0
  134. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts +5 -0
  135. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.d.ts.map +1 -0
  136. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorLinearCombinationCoords.js +62 -0
  137. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts +9 -0
  138. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.d.ts.map +1 -0
  139. package/lib/exercises/math/spaceGeometry/vectors/spaceVectorNormCalculation.js +54 -0
  140. package/lib/exercises/math/squareRoots/squareRootIdentities.js +3 -3
  141. package/lib/exercises/math/suites/sequencePlot.d.ts.map +1 -1
  142. package/lib/exercises/math/suites/sequencePlot.js +1 -2
  143. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.d.ts.map +1 -1
  144. package/lib/exercises/math/trigonometry/trigonometrySideCalcul.js +1 -0
  145. package/lib/exercises/pc/calibrationCurveOfSolution.d.ts.map +1 -1
  146. package/lib/exercises/pc/calibrationCurveOfSolution.js +2 -1
  147. package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.d.ts +1 -1
  148. package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.d.ts.map +1 -1
  149. package/lib/exercises/pc/chemicalElements/atomicStructureOfNucleus.js +1 -1
  150. package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.d.ts +1 -1
  151. package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.d.ts.map +1 -1
  152. package/lib/exercises/pc/chemicalElements/calculateProtonsNumberFromMass.js +3 -3
  153. package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.d.ts.map +1 -1
  154. package/lib/exercises/pc/chemicalElements/calculateVolumetricMass.js +29 -4
  155. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts +1 -1
  156. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.d.ts.map +1 -1
  157. package/lib/exercises/pc/chemicalElements/findAtomEntitiesNumberFromMass.js +6 -6
  158. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.d.ts +1 -1
  159. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.d.ts.map +1 -1
  160. package/lib/exercises/pc/chemicalElements/findAtomicStructureElement.js +2 -1
  161. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.d.ts +1 -1
  162. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.d.ts.map +1 -1
  163. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromElectronicConfiguration.js +1 -1
  164. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.d.ts +1 -1
  165. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.d.ts.map +1 -1
  166. package/lib/exercises/pc/chemicalElements/findValenceElectronsNumberFromTable.js +1 -1
  167. package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.d.ts +1 -1
  168. package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.d.ts.map +1 -1
  169. package/lib/exercises/pc/chemicalElements/identifyRightElectronicConfiguration.js +1 -1
  170. package/lib/exercises/pc/chemicalElements/index.d.ts +1 -0
  171. package/lib/exercises/pc/chemicalElements/index.d.ts.map +1 -1
  172. package/lib/exercises/pc/chemicalElements/index.js +1 -0
  173. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts +11 -0
  174. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.d.ts.map +1 -0
  175. package/lib/exercises/pc/chemicalElements/massOrVolumeProportion.js +100 -0
  176. package/lib/exercises/pc/chemicalEquations.d.ts +1 -1
  177. package/lib/exercises/pc/chemicalEquations.d.ts.map +1 -1
  178. package/lib/exercises/pc/chemicalEquations.js +1 -1
  179. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.d.ts.map +1 -1
  180. package/lib/exercises/pc/chemicalReactions/calculateSynthesisEfficiency.js +1 -0
  181. package/lib/exercises/pc/chemicalReactions/index.d.ts +2 -0
  182. package/lib/exercises/pc/chemicalReactions/index.d.ts.map +1 -1
  183. package/lib/exercises/pc/chemicalReactions/index.js +2 -0
  184. package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.d.ts +5 -0
  185. package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.d.ts.map +1 -0
  186. package/lib/exercises/pc/chemicalReactions/stoichiometricReaction.js +69 -0
  187. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts +11 -0
  188. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.d.ts.map +1 -0
  189. package/lib/exercises/pc/chemicalReactions/titrationEquivalenceRelation.js +181 -0
  190. package/lib/exercises/pc/chemicalReactionsProduct.d.ts +1 -1
  191. package/lib/exercises/pc/chemicalReactionsProduct.d.ts.map +1 -1
  192. package/lib/exercises/pc/chemicalReactionsProduct.js +1 -1
  193. package/lib/exercises/pc/dosage/beerLambertRandomValue.d.ts.map +1 -1
  194. package/lib/exercises/pc/dosage/beerLambertRandomValue.js +2 -1
  195. package/lib/exercises/pc/dosage/concentrationCalculation.d.ts +10 -0
  196. package/lib/exercises/pc/dosage/concentrationCalculation.d.ts.map +1 -0
  197. package/lib/exercises/pc/dosage/concentrationCalculation.js +119 -0
  198. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.d.ts +10 -0
  199. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.d.ts.map +1 -0
  200. package/lib/exercises/pc/dosage/concentrationFromMassCalculation.js +117 -0
  201. package/lib/exercises/pc/dosage/index.d.ts +2 -0
  202. package/lib/exercises/pc/dosage/index.d.ts.map +1 -1
  203. package/lib/exercises/pc/dosage/index.js +2 -0
  204. package/lib/exercises/pc/electricity/calculateIntensity.d.ts +8 -0
  205. package/lib/exercises/pc/electricity/calculateIntensity.d.ts.map +1 -0
  206. package/lib/exercises/pc/electricity/calculateIntensity.js +60 -0
  207. package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.d.ts +10 -0
  208. package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.d.ts.map +1 -0
  209. package/lib/exercises/pc/electricity/calculateIntensityInSerieOrParallel.js +105 -0
  210. package/lib/exercises/pc/electricity/calculateVoltage.d.ts +11 -0
  211. package/lib/exercises/pc/electricity/calculateVoltage.d.ts.map +1 -0
  212. package/lib/exercises/pc/electricity/calculateVoltage.js +144 -0
  213. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts +9 -0
  214. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.d.ts.map +1 -0
  215. package/lib/exercises/pc/electricity/electricPowerOrEnergyCalculation.js +81 -0
  216. package/lib/exercises/pc/electricity/index.d.ts +7 -0
  217. package/lib/exercises/pc/electricity/index.d.ts.map +1 -1
  218. package/lib/exercises/pc/electricity/index.js +7 -0
  219. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.d.ts +10 -0
  220. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.d.ts.map +1 -0
  221. package/lib/exercises/pc/electricity/kirchhoffVoltageLaw.js +110 -0
  222. package/lib/exercises/pc/electricity/ohmLaw.d.ts +11 -0
  223. package/lib/exercises/pc/electricity/ohmLaw.d.ts.map +1 -0
  224. package/lib/exercises/pc/electricity/ohmLaw.js +123 -0
  225. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.d.ts +5 -0
  226. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.d.ts.map +1 -0
  227. package/lib/exercises/pc/electricity/ohmicConductorOrGenerator.js +95 -0
  228. package/lib/exercises/pc/energy/calorificValue.d.ts +8 -0
  229. package/lib/exercises/pc/energy/calorificValue.d.ts.map +1 -0
  230. package/lib/exercises/pc/energy/calorificValue.js +78 -0
  231. package/lib/exercises/pc/energy/combustionTransferEnergy.d.ts +8 -0
  232. package/lib/exercises/pc/energy/combustionTransferEnergy.d.ts.map +1 -0
  233. package/lib/exercises/pc/energy/combustionTransferEnergy.js +78 -0
  234. package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts +11 -0
  235. package/lib/exercises/pc/energy/combustionTransferEnergy2.d.ts.map +1 -0
  236. package/lib/exercises/pc/energy/combustionTransferEnergy2.js +141 -0
  237. package/lib/exercises/pc/energy/efficencyOfConverter.d.ts +8 -0
  238. package/lib/exercises/pc/energy/efficencyOfConverter.d.ts.map +1 -0
  239. package/lib/exercises/pc/energy/efficencyOfConverter.js +84 -0
  240. package/lib/exercises/pc/energy/efficiencyCalculation.d.ts +10 -0
  241. package/lib/exercises/pc/energy/efficiencyCalculation.d.ts.map +1 -0
  242. package/lib/exercises/pc/energy/efficiencyCalculation.js +122 -0
  243. package/lib/exercises/pc/energy/energyTransfer.d.ts +10 -0
  244. package/lib/exercises/pc/energy/energyTransfer.d.ts.map +1 -0
  245. package/lib/exercises/pc/energy/energyTransfer.js +67 -0
  246. package/lib/exercises/pc/energy/index.d.ts +9 -0
  247. package/lib/exercises/pc/energy/index.d.ts.map +1 -0
  248. package/lib/exercises/pc/energy/index.js +24 -0
  249. package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.d.ts +10 -0
  250. package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.d.ts.map +1 -0
  251. package/lib/exercises/pc/energy/kineticEnergyOrMassOrSpeed.js +168 -0
  252. package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.d.ts +11 -0
  253. package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.d.ts.map +1 -0
  254. package/lib/exercises/pc/energy/thermalEnergyTransferCalculation.js +143 -0
  255. package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.d.ts +8 -0
  256. package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.d.ts.map +1 -0
  257. package/lib/exercises/pc/forces/calculateNormalOrFrictionForce.js +102 -0
  258. package/lib/exercises/pc/forces/electroStaticForce.d.ts +13 -0
  259. package/lib/exercises/pc/forces/electroStaticForce.d.ts.map +1 -0
  260. package/lib/exercises/pc/forces/electroStaticForce.js +117 -0
  261. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts +9 -0
  262. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.d.ts.map +1 -0
  263. package/lib/exercises/pc/forces/gravitationalAttractionObjectHeight.js +132 -0
  264. package/lib/exercises/pc/forces/gravitationalAttractionValue.d.ts +1 -0
  265. package/lib/exercises/pc/forces/gravitationalAttractionValue.d.ts.map +1 -1
  266. package/lib/exercises/pc/forces/gravitationalAttractionValue.js +31 -27
  267. package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts +10 -0
  268. package/lib/exercises/pc/forces/gravitationalForcePlanets.d.ts.map +1 -0
  269. package/lib/exercises/pc/forces/gravitationalForcePlanets.js +118 -0
  270. package/lib/exercises/pc/forces/index.d.ts +5 -0
  271. package/lib/exercises/pc/forces/index.d.ts.map +1 -1
  272. package/lib/exercises/pc/forces/index.js +6 -0
  273. package/lib/exercises/pc/forces/massWeight.d.ts +9 -0
  274. package/lib/exercises/pc/forces/massWeight.d.ts.map +1 -0
  275. package/lib/exercises/pc/forces/massWeight.js +68 -0
  276. package/lib/exercises/pc/forces/pressureDifferenceCalculation.d.ts +1 -0
  277. package/lib/exercises/pc/forces/pressureDifferenceCalculation.d.ts.map +1 -0
  278. package/lib/exercises/pc/forces/pressureDifferenceCalculation.js +106 -0
  279. package/lib/exercises/pc/formulaFromComposition.js +2 -2
  280. package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.d.ts +8 -0
  281. package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.d.ts.map +1 -0
  282. package/lib/exercises/pc/identifyAtomicMassOrAtomicNb.js +72 -0
  283. package/lib/exercises/pc/index.d.ts +6 -0
  284. package/lib/exercises/pc/index.d.ts.map +1 -1
  285. package/lib/exercises/pc/index.js +6 -0
  286. package/lib/exercises/pc/molarQuantity.js +2 -2
  287. package/lib/exercises/pc/mole/index.d.ts +2 -0
  288. package/lib/exercises/pc/mole/index.d.ts.map +1 -1
  289. package/lib/exercises/pc/mole/index.js +2 -0
  290. package/lib/exercises/pc/mole/molarMass.js +1 -1
  291. package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.d.ts +9 -0
  292. package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.d.ts.map +1 -0
  293. package/lib/exercises/pc/mole/moleculeCountFromMassAndAvogadro.js +75 -0
  294. package/lib/exercises/pc/mole/moleculeCountFromMol.d.ts +7 -0
  295. package/lib/exercises/pc/mole/moleculeCountFromMol.d.ts.map +1 -0
  296. package/lib/exercises/pc/mole/moleculeCountFromMol.js +66 -0
  297. package/lib/exercises/pc/moleculeFormula.js +1 -1
  298. package/lib/exercises/pc/moleculeNomenclature.js +1 -1
  299. package/lib/exercises/pc/motion/averageSpeed.d.ts +12 -0
  300. package/lib/exercises/pc/motion/averageSpeed.d.ts.map +1 -0
  301. package/lib/exercises/pc/motion/averageSpeed.js +122 -0
  302. package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts +10 -0
  303. package/lib/exercises/pc/motion/averageSpeedCalculation.d.ts.map +1 -0
  304. package/lib/exercises/pc/motion/averageSpeedCalculation.js +146 -0
  305. package/lib/exercises/pc/motion/characteristicsOfVelocityVector.d.ts +7 -0
  306. package/lib/exercises/pc/motion/characteristicsOfVelocityVector.d.ts.map +1 -0
  307. package/lib/exercises/pc/motion/characteristicsOfVelocityVector.js +86 -0
  308. package/lib/exercises/pc/motion/index.d.ts +7 -0
  309. package/lib/exercises/pc/motion/index.d.ts.map +1 -0
  310. package/lib/exercises/pc/motion/index.js +22 -0
  311. package/lib/exercises/pc/motion/motionReference.d.ts +9 -0
  312. package/lib/exercises/pc/motion/motionReference.d.ts.map +1 -0
  313. package/lib/exercises/pc/motion/motionReference.js +168 -0
  314. package/lib/exercises/pc/motion/typeOfAcceleration.d.ts +5 -0
  315. package/lib/exercises/pc/motion/typeOfAcceleration.d.ts.map +1 -0
  316. package/lib/exercises/pc/motion/typeOfAcceleration.js +97 -0
  317. package/lib/exercises/pc/motion/typeOfMovement.d.ts +5 -0
  318. package/lib/exercises/pc/motion/typeOfMovement.d.ts.map +1 -0
  319. package/lib/exercises/pc/motion/typeOfMovement.js +111 -0
  320. package/lib/exercises/pc/orderOfMagnitude.d.ts +8 -0
  321. package/lib/exercises/pc/orderOfMagnitude.d.ts.map +1 -0
  322. package/lib/exercises/pc/orderOfMagnitude.js +68 -0
  323. package/lib/exercises/pc/pH.d.ts.map +1 -1
  324. package/lib/exercises/pc/pH.js +1 -0
  325. package/lib/exercises/pc/potentialEnergy.d.ts.map +1 -1
  326. package/lib/exercises/pc/potentialEnergy.js +17 -5
  327. package/lib/exercises/pc/power/calculatePowerOfLight.d.ts +8 -0
  328. package/lib/exercises/pc/power/calculatePowerOfLight.d.ts.map +1 -0
  329. package/lib/exercises/pc/power/calculatePowerOfLight.js +86 -0
  330. package/lib/exercises/pc/power/index.d.ts +2 -0
  331. package/lib/exercises/pc/power/index.d.ts.map +1 -0
  332. package/lib/exercises/pc/power/index.js +17 -0
  333. package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.d.ts +5 -0
  334. package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.d.ts.map +1 -0
  335. package/lib/exercises/pc/recognizeRefractionOrReflectionAngles.js +117 -0
  336. package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.d.ts +9 -0
  337. package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.d.ts.map +1 -0
  338. package/lib/exercises/pc/sound/findPeriodOrFrequencyFromGraph.js +95 -0
  339. package/lib/exercises/pc/sound/index.d.ts +1 -0
  340. package/lib/exercises/pc/sound/index.d.ts.map +1 -1
  341. package/lib/exercises/pc/sound/index.js +1 -0
  342. package/lib/exercises/pc/spectral/spectralEnergy.d.ts.map +1 -1
  343. package/lib/exercises/pc/spectral/spectralEnergy.js +1 -0
  344. package/lib/exercises/pc/waves/index.d.ts +1 -0
  345. package/lib/exercises/pc/waves/index.d.ts.map +1 -1
  346. package/lib/exercises/pc/waves/index.js +1 -0
  347. package/lib/exercises/pc/waves/lightDistanceConversion.d.ts +10 -0
  348. package/lib/exercises/pc/waves/lightDistanceConversion.d.ts.map +1 -0
  349. package/lib/exercises/pc/waves/lightDistanceConversion.js +161 -0
  350. package/lib/exercises/pc/waves/periodicWaveCelerity.d.ts.map +1 -1
  351. package/lib/exercises/pc/waves/periodicWaveCelerity.js +1 -0
  352. package/lib/exercises/pc/weight/calculateWeight.d.ts +7 -0
  353. package/lib/exercises/pc/weight/calculateWeight.d.ts.map +1 -0
  354. package/lib/exercises/pc/weight/calculateWeight.js +73 -0
  355. package/lib/exercises/pc/weight/index.d.ts +1 -0
  356. package/lib/exercises/pc/weight/index.d.ts.map +1 -1
  357. package/lib/exercises/pc/weight/index.js +1 -0
  358. package/lib/exercises/pc/weight/weightOnTheMoon.d.ts.map +1 -1
  359. package/lib/exercises/pc/weight/weightOnTheMoon.js +7 -6
  360. package/lib/exercises/utils/getAtoms.d.ts +1 -1
  361. package/lib/exercises/utils/getAtoms.d.ts.map +1 -1
  362. package/lib/exercises/utils/getAtoms.js +1 -1
  363. package/lib/index.d.ts +216 -75
  364. package/lib/index.d.ts.map +1 -1
  365. package/lib/index.js +4 -0
  366. package/lib/math/geometry/spacePoint.d.ts +27 -0
  367. package/lib/math/geometry/spacePoint.d.ts.map +1 -0
  368. package/lib/math/geometry/spacePoint.js +80 -0
  369. package/lib/math/geometry/spaceVector.d.ts +28 -0
  370. package/lib/math/geometry/spaceVector.d.ts.map +1 -0
  371. package/lib/math/geometry/spaceVector.js +83 -0
  372. package/lib/math/numbers/decimals/decimal.d.ts +1 -0
  373. package/lib/math/numbers/decimals/decimal.d.ts.map +1 -1
  374. package/lib/math/numbers/decimals/decimal.js +8 -0
  375. package/lib/math/numbers/rationals/rational.d.ts +1 -0
  376. package/lib/math/numbers/rationals/rational.d.ts.map +1 -1
  377. package/lib/math/numbers/rationals/rational.js +4 -0
  378. package/lib/math/numbers/reals/extendedRingElement.d.ts +1 -2
  379. package/lib/math/numbers/reals/extendedRingElement.d.ts.map +1 -1
  380. package/lib/math/polynomials/affine.d.ts +4 -0
  381. package/lib/math/polynomials/affine.d.ts.map +1 -1
  382. package/lib/math/polynomials/affine.js +10 -0
  383. package/lib/math/polynomials/trinom.d.ts +2 -1
  384. package/lib/math/polynomials/trinom.d.ts.map +1 -1
  385. package/lib/math/polynomials/trinom.js +3 -0
  386. package/lib/pc/constants/atoms.d.ts +0 -1
  387. package/lib/pc/constants/atoms.d.ts.map +1 -1
  388. package/lib/pc/constants/atoms.js +2 -2
  389. package/lib/pc/constants/coulomb.d.ts +3 -0
  390. package/lib/pc/constants/coulomb.d.ts.map +1 -0
  391. package/lib/pc/constants/coulomb.js +13 -0
  392. package/lib/pc/constants/earth.d.ts +0 -1
  393. package/lib/pc/constants/earth.d.ts.map +1 -1
  394. package/lib/pc/constants/earth.js +4 -4
  395. package/lib/pc/constants/gravity.d.ts +1 -1
  396. package/lib/pc/constants/gravity.d.ts.map +1 -1
  397. package/lib/pc/constants/gravity.js +16 -7
  398. package/lib/pc/constants/mechanics/gravitational.d.ts +14 -0
  399. package/lib/pc/constants/mechanics/gravitational.d.ts.map +1 -0
  400. package/lib/pc/constants/mechanics/gravitational.js +37 -0
  401. package/lib/pc/constants/mechanics/planets.d.ts +15 -0
  402. package/lib/pc/constants/mechanics/planets.d.ts.map +1 -0
  403. package/lib/pc/constants/mechanics/planets.js +35 -0
  404. package/lib/pc/constants/mechanics/waves.d.ts +8 -0
  405. package/lib/pc/constants/mechanics/waves.d.ts.map +1 -0
  406. package/lib/pc/constants/mechanics/waves.js +8 -0
  407. package/lib/pc/constants/molecularChemistry/atomSymbols.d.ts +2 -0
  408. package/lib/pc/constants/molecularChemistry/atomSymbols.d.ts.map +1 -0
  409. package/lib/pc/constants/molecularChemistry/atomSymbols.js +2 -0
  410. package/lib/pc/constants/molecularChemistry/atome.d.ts +18 -0
  411. package/lib/pc/constants/molecularChemistry/atome.d.ts.map +1 -0
  412. package/lib/pc/constants/molecularChemistry/atome.js +174 -0
  413. package/lib/pc/constants/molecularChemistry/atoms.d.ts +9 -0
  414. package/lib/pc/constants/molecularChemistry/atoms.d.ts.map +1 -0
  415. package/lib/pc/constants/molecularChemistry/atoms.js +15 -0
  416. package/lib/pc/constants/molecularChemistry/molecule.d.ts +25 -0
  417. package/lib/pc/constants/molecularChemistry/molecule.d.ts.map +1 -0
  418. package/lib/pc/constants/molecularChemistry/molecule.js +579 -0
  419. package/lib/pc/constants/molecularChemistry/reaction.d.ts +27 -0
  420. package/lib/pc/constants/molecularChemistry/reaction.d.ts.map +1 -0
  421. package/lib/pc/constants/molecularChemistry/reaction.js +471 -0
  422. package/lib/pc/measure/measure.d.ts +16 -6
  423. package/lib/pc/measure/measure.d.ts.map +1 -1
  424. package/lib/pc/measure/measure.js +112 -16
  425. package/lib/pc/units/AmountOfSubstance.d.ts +17 -0
  426. package/lib/pc/units/AmountOfSubstance.d.ts.map +1 -0
  427. package/lib/pc/units/AmountOfSubstance.js +40 -0
  428. package/lib/pc/units/PressionUnit.d.ts +17 -0
  429. package/lib/pc/units/PressionUnit.d.ts.map +1 -0
  430. package/lib/pc/units/PressionUnit.js +32 -0
  431. package/lib/pc/units/distanceUnits.d.ts +16 -0
  432. package/lib/pc/units/distanceUnits.d.ts.map +1 -0
  433. package/lib/pc/units/distanceUnits.js +32 -0
  434. package/lib/pc/units/divideUnit.d.ts +13 -0
  435. package/lib/pc/units/divideUnit.d.ts.map +1 -0
  436. package/lib/pc/units/divideUnit.js +32 -0
  437. package/lib/pc/units/electricalChargeUnit.d.ts +17 -0
  438. package/lib/pc/units/electricalChargeUnit.d.ts.map +1 -0
  439. package/lib/pc/units/electricalChargeUnit.js +40 -0
  440. package/lib/pc/units/electricalResistanceUnit.d.ts +18 -0
  441. package/lib/pc/units/electricalResistanceUnit.d.ts.map +1 -0
  442. package/lib/pc/units/electricalResistanceUnit.js +32 -0
  443. package/lib/pc/units/electricalUnit.d.ts +18 -0
  444. package/lib/pc/units/electricalUnit.d.ts.map +1 -0
  445. package/lib/pc/units/electricalUnit.js +32 -0
  446. package/lib/pc/units/energyUnit.d.ts +16 -0
  447. package/lib/pc/units/energyUnit.d.ts.map +1 -0
  448. package/lib/pc/units/energyUnit.js +32 -0
  449. package/lib/pc/units/forceUnits.d.ts +16 -0
  450. package/lib/pc/units/forceUnits.d.ts.map +1 -0
  451. package/lib/pc/units/forceUnits.js +32 -0
  452. package/lib/pc/units/frequenceUnit.d.ts +17 -0
  453. package/lib/pc/units/frequenceUnit.d.ts.map +1 -0
  454. package/lib/pc/units/frequenceUnit.js +40 -0
  455. package/lib/pc/units/interfaces/baseTenUnit.d.ts +10 -0
  456. package/lib/pc/units/interfaces/baseTenUnit.d.ts.map +1 -0
  457. package/lib/pc/units/interfaces/baseTenUnit.js +16 -0
  458. package/lib/pc/units/interfaces/basicUnit.d.ts +13 -0
  459. package/lib/pc/units/interfaces/basicUnit.d.ts.map +1 -0
  460. package/lib/pc/units/interfaces/basicUnit.js +19 -0
  461. package/lib/pc/units/interfaces/unit.d.ts +13 -0
  462. package/lib/pc/units/interfaces/unit.d.ts.map +1 -0
  463. package/lib/pc/units/interfaces/unit.js +2 -0
  464. package/lib/pc/units/massUnits.d.ts +17 -0
  465. package/lib/pc/units/massUnits.d.ts.map +1 -0
  466. package/lib/pc/units/massUnits.js +32 -0
  467. package/lib/pc/units/mulitplyUnits.d.ts +13 -0
  468. package/lib/pc/units/mulitplyUnits.d.ts.map +1 -0
  469. package/lib/pc/units/mulitplyUnits.js +26 -0
  470. package/lib/pc/units/powerUnits.d.ts +14 -0
  471. package/lib/pc/units/powerUnits.d.ts.map +1 -0
  472. package/lib/pc/units/powerUnits.js +26 -0
  473. package/lib/pc/units/timeUnits.d.ts +13 -0
  474. package/lib/pc/units/timeUnits.d.ts.map +1 -0
  475. package/lib/pc/units/timeUnits.js +42 -0
  476. package/lib/pc/units/volumeUnit.d.ts +17 -0
  477. package/lib/pc/units/volumeUnit.d.ts.map +1 -0
  478. package/lib/pc/units/volumeUnit.js +32 -0
  479. package/lib/pc/units/wattUnit.d.ts +17 -0
  480. package/lib/pc/units/wattUnit.d.ts.map +1 -0
  481. package/lib/pc/units/wattUnit.js +32 -0
  482. package/lib/playground.d.ts +2 -0
  483. package/lib/playground.d.ts.map +1 -0
  484. package/lib/playground.js +19 -0
  485. package/lib/server.d.ts +3 -0
  486. package/lib/server.d.ts.map +1 -1
  487. package/lib/server.js +11 -5
  488. package/lib/tree/nodes/equations/equationSolutionNode.d.ts.map +1 -1
  489. package/lib/tree/nodes/equations/equationSolutionNode.js +8 -0
  490. package/lib/tree/nodes/node.d.ts +4 -0
  491. package/lib/tree/nodes/node.d.ts.map +1 -1
  492. package/lib/tree/nodes/operators/addNode.js +2 -2
  493. package/lib/tree/nodes/operators/multiplyNode.d.ts.map +1 -1
  494. package/lib/tree/nodes/operators/multiplyNode.js +40 -12
  495. package/lib/tree/nodes/operators/powerNode.d.ts.map +1 -1
  496. package/lib/tree/nodes/operators/powerNode.js +12 -0
  497. package/lib/utils/alignTex.d.ts +2 -0
  498. package/lib/utils/alignTex.d.ts.map +1 -0
  499. package/lib/utils/alignTex.js +18 -0
  500. package/package.json +1 -1
@@ -0,0 +1,174 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.atomes = exports.Atome = void 0;
4
+ class Atome {
5
+ constructor(name, symbole, numeroAtomique, masseAtomique, famille, etatStandard, couleur, masseVolumique, pointFusion, electronsShells, valenceElectronsNumber) {
6
+ this.name = name;
7
+ this.symbole = symbole;
8
+ this.numeroAtomique = numeroAtomique;
9
+ this.masseAtomique = masseAtomique;
10
+ this.electronsShells = electronsShells;
11
+ this.famille = famille;
12
+ this.etatStandard = etatStandard;
13
+ this.couleur = couleur;
14
+ this.masseVolumique = masseVolumique;
15
+ this.pointFusion = pointFusion;
16
+ this.valenceElectronsNumber = valenceElectronsNumber;
17
+ }
18
+ }
19
+ exports.Atome = Atome;
20
+ exports.atomes = [
21
+ new Atome("Hydrogène", "H", 1, 1.008, "Non-métal", "Gaz", "Incolore", 0.08988, -259.16, [1], 1),
22
+ new Atome("Hélium", "He", 2, 4.0026, "Gaz noble", "Gaz", "Incolore", 0.1786, -272.2,
23
+ // "1s2",
24
+ [2], 2),
25
+ new Atome("Lithium", "Li", 3, 6.94, "Métal alcalin", "Solide", "Argenté", 0.534, 180.54,
26
+ // "[He] 2s1",
27
+ [2, 1], 1),
28
+ new Atome("Béryllium", "Be", 4, 9.0122, "Métal alcalino-terreux", "Solide", "Gris métallique", 1.848, 1287,
29
+ // "[He] 2s2",
30
+ [2, 2], 2),
31
+ new Atome("Bore", "B", 5, 10.81, "Métalloïde", "Solide", "Noir", 2.46, 2075,
32
+ // "[He] 2s2 2p1",
33
+ [2, 2, 1], 3),
34
+ new Atome("Carbone", "C", 6, 12.01, "Non-métal", "Solide", "Noir", 2.267, 3500,
35
+ // "[He] 2s2 2p2",
36
+ [2, 2, 2], 4),
37
+ new Atome("Azote", "N", 7, 14.01, "Non-métal", "Gaz", "Incolore", 0.001251, -210.01,
38
+ // "[He] 2s2 2p3",
39
+ [2, 2, 3], 5),
40
+ new Atome("Oxygène", "O", 8, 16, "Non-métal", "Gaz", "Incolore", 0.001429, -218.79,
41
+ // "[He] 2s2 2p4",
42
+ [2, 2, 4], 6),
43
+ new Atome("Fluor", "F", 9, 19, "Halogène", "Gaz", "Jaune pâle", 0.001696, -219.62,
44
+ // "[He] 2s2 2p5",
45
+ [2, 2, 5], 7),
46
+ new Atome("Néon", "Ne", 10, 20.18, "Gaz noble", "Gaz", "Incolore", 0.9002, -246.08,
47
+ // "[He] 2s2 2p6",
48
+ [2, 2, 6], 8),
49
+ new Atome("Sodium", "Na", 11, 22.99, "Métal alcalin", "Solide", "Argenté", 0.968, 97.72,
50
+ // "[Ne] 3s1",
51
+ [2, 2, 6, 1], 1),
52
+ new Atome("Magnésium", "Mg", 12, 24.31, "Métal alcalino-terreux", "Solide", "Gris métallique", 1.738, 650,
53
+ // "[Ne] 3s2",
54
+ [2, 2, 6, 2], 2),
55
+ new Atome("Aluminium", "Al", 13, 26.98, "Métal pauvre", "Solide", "Argenté", 2.7, 660.32,
56
+ // "[Ne] 3s2 3p1",
57
+ [2, 2, 6, 2, 1], 3),
58
+ new Atome("Silicium", "Si", 14, 28.09, "Métalloïde", "Solide", "Bleu-gris", 2.3296, 1414,
59
+ // "[Ne] 3s2 3p2",
60
+ [2, 2, 6, 2, 2], 4),
61
+ new Atome("Phosphore", "P", 15, 30.97, "Non-métal", "Solide", "Blanc", 1.82, 44.15,
62
+ // "[Ne] 3s2 3p3",
63
+ [2, 2, 6, 2, 3], 5),
64
+ new Atome("Soufre", "S", 16, 32.07, "Non-métal", "Solide", "Jaune", 2.067, 115.21,
65
+ // "[Ne] 3s2 3p4",
66
+ [2, 2, 6, 2, 4], 6),
67
+ new Atome("Chlore", "Cl", 17, 35.45, "Halogène", "Gaz", "Vert pâle", 0.003214, -101.5,
68
+ // "[Ne] 3s2 3p5",
69
+ [2, 2, 6, 2, 5], 7),
70
+ new Atome("Argon", "Ar", 18, 39.95, "Gaz noble", "Gaz", "Incolore", 1.3954, -189.34,
71
+ // "[Ne] 3s2 3p6",
72
+ [2, 2, 6, 2, 6], 8),
73
+ //Next atoms do not have valence number & electronic configuration for now
74
+ new Atome("Potassium", "K", 19, 39.1, "Métal alcalin", "Solide", "Argenté", 0.856, 63.38),
75
+ new Atome("Calcium", "Ca", 20, 40.08, "Métal alcalino-terreux", "Solide", "Argenté", 1.55, 842),
76
+ new Atome("Scandium", "Sc", 21, 44.96, "Métal de transition", "Solide", "Argenté", 2.989, 1541),
77
+ new Atome("Titane", "Ti", 22, 47.87, "Métal de transition", "Solide", "Argenté", 4.54, 1660),
78
+ new Atome("Vanadium", "V", 23, 50.94, "Métal de transition", "Solide", "Argenté", 6.11, 1910),
79
+ new Atome("Chrome", "Cr", 24, 52.0, "Métal de transition", "Solide", "Argenté", 7.15, 1857),
80
+ new Atome("Manganèse", "Mn", 25, 54.94, "Métal de transition", "Solide", "Argenté", 7.44, 1244),
81
+ new Atome("Fer", "Fe", 26, 55.85, "Métal de transition", "Solide", "Argenté", 7.874, 1538),
82
+ new Atome("Cobalt", "Co", 27, 58.93, "Métal de transition", "Solide", "Argenté", 8.86, 1495),
83
+ new Atome("Nickel", "Ni", 28, 58.69, "Métal de transition", "Solide", "Argenté", 8.912, 1455),
84
+ new Atome("Cuivre", "Cu", 29, 63.55, "Métal de transition", "Solide", "Rouge métallique", 8.92, 1357.77),
85
+ new Atome("Zinc", "Zn", 30, 65.38, "Métal de transition", "Solide", "Gris bleuâtre", 7.134, 692.68),
86
+ new Atome("Gallium", "Ga", 31, 69.72, "Métal pauvre", "Solide", "Argenté", 5.907, 302.9146),
87
+ new Atome("Germanium", "Ge", 32, 72.63, "Métalloïde", "Solide", "Gris", 5.323, 1211.4),
88
+ new Atome("Arsenic", "As", 33, 74.92, "Métalloïde", "Solide", "Gris métallique", 5.776, 1090),
89
+ new Atome("Sélénium", "Se", 34, 78.97, "Non-métal", "Solide", "Gris-noir", 4.809, 494),
90
+ new Atome("Brome", "Br", 35, 79.9, "Halogène", "Liquide", "Rouge foncé", 3.122, -7.2),
91
+ new Atome("Krypton", "Kr", 36, 83.8, "Gaz noble", "Gaz", "Incolore", 0.003749, -157.36),
92
+ new Atome("Rubidium", "Rb", 37, 85.47, "Métal alcalin", "Solide", "Argenté", 1.532, 312.45),
93
+ new Atome("Strontium", "Sr", 38, 87.62, "Métal alcalino-terreux", "Solide", "Argenté", 2.64, 1050),
94
+ new Atome("Yttrium", "Y", 39, 88.91, "Métal de transition", "Solide", "Argenté", 4.472, 1799),
95
+ new Atome("Zirconium", "Zr", 40, 91.22, "Métal de transition", "Solide", "Argenté", 6.52, 2128),
96
+ new Atome("Niobium", "Nb", 41, 92.91, "Métal de transition", "Solide", "Argenté", 8.57, 2750),
97
+ new Atome("Molybdène", "Mo", 42, 95.95, "Métal de transition", "Solide", "Argenté", 10.22, 2896),
98
+ new Atome("Technétium", "Tc", 43, 98, "Métal de transition", "Solide", "Argenté", 11.49, 2430),
99
+ new Atome("Ruthénium", "Ru", 44, 101.07, "Métal de transition", "Solide", "Argenté", 12.37, 2607),
100
+ new Atome("Rhodium", "Rh", 45, 102.91, "Métal de transition", "Solide", "Argenté", 12.41, 2237),
101
+ new Atome("Palladium", "Pd", 46, 106.42, "Métal de transition", "Solide", "Argenté", 12.02, 1828.05),
102
+ new Atome("Argent", "Ag", 47, 107.87, "Métal de transition", "Solide", "Blanc argenté", 10.49, 1234.93),
103
+ new Atome("Cadmium", "Cd", 48, 112.41, "Métal de transition", "Solide", "Blanc argenté", 8.65, 594.22),
104
+ new Atome("Indium", "In", 49, 114.82, "Métal pauvre", "Solide", "Blanc argenté", 7.31, 429.75),
105
+ new Atome("Étain", "Sn", 50, 118.71, "Métal pauvre", "Solide", "Blanc argenté", 7.31, 505.08),
106
+ new Atome("Antimoine", "Sb", 51, 121.76, "Métalloïde", "Solide", "Blanc argenté", 6.68, 903.78),
107
+ new Atome("Tellure", "Te", 52, 127.6, "Métalloïde", "Solide", "Blanc argenté", 6.24, 722.66),
108
+ new Atome("Iode", "I", 53, 126.9, "Halogène", "Solide", "Noir brillant", 4.94, 386.85),
109
+ new Atome("Xénon", "Xe", 54, 131.29, "Gaz noble", "Gaz", "Incolore", 0.005887, -111.75),
110
+ new Atome("Césium", "Cs", 55, 132.91, "Métal alcalin", "Solide", "Or jaune", 1.873, 301.59),
111
+ new Atome("Baryum", "Ba", 56, 137.33, "Métal alcalino-terreux", "Solide", "Argenté", 3.594, 1000),
112
+ new Atome("Lanthane", "La", 57, 138.91, "Lanthanide", "Solide", "Argenté", 6.145, 1193),
113
+ new Atome("Cérium", "Ce", 58, 140.12, "Lanthanide", "Solide", "Argenté", 6.77, 1068),
114
+ new Atome("Praséodyme", "Pr", 59, 140.91, "Lanthanide", "Solide", "Argenté", 6.77, 1208),
115
+ new Atome("Néodyme", "Nd", 60, 144.24, "Lanthanide", "Solide", "Argenté", 7.01, 1297),
116
+ new Atome("Prométhium", "Pm", 61, 145, "Lanthanide", "Solide", "Argenté", 7.26, 1315),
117
+ new Atome("Samarium", "Sm", 62, 150.36, "Lanthanide", "Solide", "Argenté", 7.52, 1345),
118
+ new Atome("Europium", "Eu", 63, 152.0, "Lanthanide", "Solide", "Argenté", 5.24, 1095),
119
+ new Atome("Gadolinium", "Gd", 64, 157.25, "Lanthanide", "Solide", "Argenté", 7.89, 1585),
120
+ new Atome("Térbium", "Tb", 65, 158.93, "Lanthanide", "Solide", "Argenté", 8.23, 1629),
121
+ new Atome("Dysprosium", "Dy", 66, 162.5, "Lanthanide", "Solide", "Argenté", 8.55, 1680),
122
+ new Atome("Holmium", "Ho", 67, 164.93, "Lanthanide", "Solide", "Argenté", 8.795, 1734),
123
+ new Atome("Erbium", "Er", 68, 167.26, "Lanthanide", "Solide", "Argenté", 9.066, 1802),
124
+ new Atome("Thulium", "Tm", 69, 168.93, "Lanthanide", "Solide", "Argenté", 9.321, 1818),
125
+ new Atome("Ytterbium", "Yb", 70, 173.05, "Lanthanide", "Solide", "Argenté", 6.965, 1092),
126
+ new Atome("Lutétium", "Lu", 71, 175.0, "Lanthanide", "Solide", "Argenté", 9.84, 1925),
127
+ new Atome("Hafnium", "Hf", 72, 178.49, "Métal de transition", "Solide", "Argenté", 13.31, 2506),
128
+ new Atome("Tantale", "Ta", 73, 180.95, "Métal de transition", "Solide", "Gris bleuâtre", 16.65, 3290),
129
+ new Atome("Tungstène", "W", 74, 183.84, "Métal de transition", "Solide", "Gris acier", 19.25, 3695),
130
+ new Atome("Rhénium", "Re", 75, 186.21, "Métal de transition", "Solide", "Argenté", 21.02, 3459),
131
+ new Atome("Osmium", "Os", 76, 190.23, "Métal de transition", "Solide", "Argenté bleuté", 22.59, 3306),
132
+ new Atome("Iridium", "Ir", 77, 192.22, "Métal de transition", "Solide", "Blanc argenté", 22.56, 2719),
133
+ new Atome("Platine", "Pt", 78, 195.08, "Métal de transition", "Solide", "Argenté", 21.45, 2041.4),
134
+ new Atome("Or", "Au", 79, 196.97, "Métal de transition", "Solide", "Jaune", 19.32, 1337.33),
135
+ new Atome("Mercure", "Hg", 80, 200.59, "Métal de transition", "Liquide", "Argenté", 13.55, -38.83),
136
+ new Atome("Thallium", "Tl", 81, 204.38, "Métal pauvre", "Solide", "Blanc argenté", 11.85, 577),
137
+ new Atome("Plomb", "Pb", 82, 207.2, "Métal pauvre", "Solide", "Bleu-gris", 11.34, 600.61),
138
+ new Atome("Bismuth", "Bi", 83, 208.98, "Métal pauvre", "Solide", "Blanc argenté", 9.8, 544.4),
139
+ new Atome("Polonium", "Po", 84, 209, "Métalloïde", "Solide", "Argenté", 9.32, 527),
140
+ new Atome("Astate", "At", 85, 210, "Halogène", "Solide", "Inconnue", 7, 575),
141
+ new Atome("Radon", "Rn", 86, 222, "Gaz noble", "Gaz", "Incolore", 0.00973, -61.85),
142
+ new Atome("Francium", "Fr", 87, 223, "Métal alcalin", "Solide", "Argenté", 1.87, 300),
143
+ new Atome("Radium", "Ra", 88, 226, "Métal alcalino-terreux", "Solide", "Argenté", 5.5, 973),
144
+ new Atome("Actinium", "Ac", 89, 227, "Actinide", "Solide", "Argenté", 10.07, 1323),
145
+ new Atome("Thorium", "Th", 90, 232.04, "Actinide", "Solide", "Argenté", 11.72, 2023),
146
+ new Atome("Protactinium", "Pa", 91, 231.04, "Actinide", "Solide", "Argenté", 15.37, 1841),
147
+ new Atome("Uranium", "U", 92, 238.03, "Actinide", "Solide", "Argenté", 19.05, 1405),
148
+ new Atome("Neptunium", "Np", 93, 237, "Actinide", "Solide", "Inconnue", 20.25, 912),
149
+ new Atome("Plutonium", "Pu", 94, 244, "Actinide", "Solide", "Argenté", 19.86, 912.5),
150
+ new Atome("Américium", "Am", 95, 243, "Actinide", "Solide", "Argenté", 13.67, 1449),
151
+ new Atome("Curium", "Cm", 96, 247, "Actinide", "Solide", "Argenté", 13.51, 1613),
152
+ new Atome("Berkélium", "Bk", 97, 247, "Actinide", "Solide", "Inconnue", 14.78, 1323),
153
+ new Atome("Californium", "Cf", 98, 251, "Actinide", "Solide", "Inconnue", 15.1, 1173),
154
+ new Atome("Einsteinium", "Es", 99, 252, "Actinide", "Solide", "Inconnue", 8.84, 1133),
155
+ new Atome("Fermium", "Fm", 100, 257, "Actinide", "Solide", "Inconnue", 9.7, 1800),
156
+ new Atome("Mendélévium", "Md", 101, 258, "Actinide", "Solide", "Inconnue", 10.3, 1100),
157
+ new Atome("Nobelium", "No", 102, 259, "Actinide", "Solide", "Inconnue", 9.9, 1100),
158
+ new Atome("Lawrencium", "Lr", 103, 262, "Actinide", "Solide", "Inconnue", 15.6, 1900),
159
+ new Atome("Rutherfordium", "Rf", 104, 267, "Métal de transition", "Inconnue", "Inconnue", 23.2, 2400),
160
+ new Atome("Dubnium", "Db", 105, 270, "Métal de transition", "Inconnue", "Inconnue", 29.3, 2370),
161
+ new Atome("Seaborgium", "Sg", 106, 271, "Métal de transition", "Inconnue", "Inconnue", 35, 2273),
162
+ new Atome("Bohrium", "Bh", 107, 270, "Métal de transition", "Inconnue", "Inconnue", 37.1, 0),
163
+ new Atome("Hassium", "Hs", 108, 277, "Métal de transition", "Inconnue", "Inconnue", 40.7, 0),
164
+ new Atome("Meitnérium", "Mt", 109, 278, "Métal de transition", "Inconnue", "Inconnue", 37.4, 0),
165
+ new Atome("Darmstadtium", "Ds", 110, 281, "Métal de transition", "Inconnue", "Inconnue", 34.8, 0),
166
+ new Atome("Roentgenium", "Rg", 111, 282, "Métal de transition", "Inconnue", "Inconnue", 28.7, 0),
167
+ new Atome("Copernicium", "Cn", 112, 285, "Métal de transition", "Inconnue", "Inconnue", 23.7, 0),
168
+ new Atome("Nihonium", "Nh", 113, 286, "Métal pauvre", "Inconnue", "Inconnue", 16, 0),
169
+ new Atome("Flerovium", "Fl", 114, 289, "Métal pauvre", "Inconnue", "Inconnue", 14, 0),
170
+ new Atome("Moscovium", "Mc", 115, 290, "Métal pauvre", "Inconnue", "Inconnue", 13.5, 0),
171
+ new Atome("Livermorium", "Lv", 116, 293, "Métal pauvre", "Inconnue", "Inconnue", 12.9, 0),
172
+ new Atome("Tennessine", "Ts", 117, 294, "Hallogène", "Inconnue", "Inconnue", 7.2, 0),
173
+ new Atome("Oganesson", "Og", 118, 294, "Gaz noble", "Inconnue", "Inconnue", 4.9, 0),
174
+ ];
@@ -0,0 +1,9 @@
1
+ import { Measure } from "../../measure/measure";
2
+ type PhysicalConstant = {
3
+ value: Measure;
4
+ unit: string;
5
+ };
6
+ export declare const nucleonMass: PhysicalConstant;
7
+ export declare const avogadroConstant: PhysicalConstant;
8
+ export {};
9
+ //# sourceMappingURL=atoms.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"atoms.d.ts","sourceRoot":"","sources":["../../../../src/pc/constants/molecularChemistry/atoms.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAEhD,KAAK,gBAAgB,GAAG;IACtB,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,gBAIzB,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,gBAI9B,CAAC"}
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.avogadroConstant = exports.nucleonMass = void 0;
4
+ const massUnits_1 = require("../../../pc/units/massUnits");
5
+ const measure_1 = require("../../measure/measure");
6
+ exports.nucleonMass = {
7
+ value: new measure_1.Measure(1.67, -27, massUnits_1.MassUnit.kg),
8
+ // value: 1.67 * Math.pow(10, -27),
9
+ unit: "\\text{kg}",
10
+ };
11
+ exports.avogadroConstant = {
12
+ value: new measure_1.Measure(6.022, 23),
13
+ // value: 6.02 * Math.pow(10, 23),
14
+ unit: "\\text{mol^(-1)}",
15
+ };
@@ -0,0 +1,25 @@
1
+ import { KeyId } from "../../../types/keyIds";
2
+ import { Atome } from "./atome";
3
+ interface AtomShortcut {
4
+ name: string;
5
+ count: number;
6
+ }
7
+ type AtomsData = {
8
+ atom: Atome;
9
+ count: number;
10
+ };
11
+ export declare class Molecule {
12
+ name: string;
13
+ formula: string;
14
+ keyId: KeyId;
15
+ weight: number;
16
+ atoms: AtomsData[];
17
+ isOrganic: boolean;
18
+ state: "solid" | "liquid" | "gas" | "aqueous";
19
+ iupact?: string;
20
+ type?: string;
21
+ constructor(name: string, formula: string, weight: number, atoms: AtomShortcut[], isOrganic: boolean, state: "solid" | "liquid" | "gas" | "aqueous", iupact?: string, type?: string);
22
+ }
23
+ export declare const molecules: Molecule[];
24
+ export {};
25
+ //# sourceMappingURL=molecule.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"molecule.d.ts","sourceRoot":"","sources":["../../../../src/pc/constants/molecularChemistry/molecule.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,oBAAoB,CAAC;AAC3C,OAAO,EAAE,KAAK,EAAU,MAAM,SAAS,CAAC;AAExC,UAAU,YAAY;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AACD,KAAK,SAAS,GAAG;IACf,IAAI,EAAE,KAAK,CAAC;IACZ,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAYF,qBAAa,QAAQ;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,SAAS,EAAE,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,CAAC;IAC9C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;gBAGZ,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,MAAM,EAAE,MAAM,EACd,KAAK,EAAE,YAAY,EAAE,EACrB,SAAS,EAAE,OAAO,EAClB,KAAK,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,EAC7C,MAAM,CAAC,EAAE,MAAM,EACf,IAAI,CAAC,EAAE,MAAM;CAiBhB;AAED,eAAO,MAAM,SAAS,YA43CrB,CAAC"}