diff options
-rw-r--r-- | CHANGELOG.txt | 7 | ||||
-rw-r--r-- | css/base.css | 2 | ||||
-rw-r--r-- | html/encyclopedia.html | 3 | ||||
-rw-r--r-- | html/encyclopedia/chemistry.html | 39 | ||||
-rw-r--r-- | html/encyclopedia/mathematics.html | 40 | ||||
-rw-r--r-- | html/encyclopedia/physics.html | 198 |
6 files changed, 253 insertions, 36 deletions
diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 8599467..43da387 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,10 @@ +# 3C + +* Update encyclopedia topic 'physics'; +* Add encyclopedia page 'chemistry'; +* Update styling; +* Update encyclopedia topic 'mathematics'; + # 3B * Update image styling; diff --git a/css/base.css b/css/base.css index 2f86b92..4ef3945 100644 --- a/css/base.css +++ b/css/base.css @@ -60,7 +60,7 @@ p.small span.data + span.data::before { font-weight:normal; } -p.math { +p.math,table tr td.math { font-size:calc(3rem / 2); margin: calc(3rem / 2 / 2) 0; } diff --git a/html/encyclopedia.html b/html/encyclopedia.html index ab3a8f1..620e38e 100644 --- a/html/encyclopedia.html +++ b/html/encyclopedia.html @@ -15,6 +15,9 @@ <p><a href="/html/encyclopedia/physics.html">Fysik</a><sub> †</sub></p> </li> <li> + <p><a href="/html/encyclopedia/chemistry.html">Kemi</a><sub> †</sub></p> + </li> + <li> <p><a href="/html/encyclopedia/latin.html">Latin</a></p> </li> <li> diff --git a/html/encyclopedia/chemistry.html b/html/encyclopedia/chemistry.html new file mode 100644 index 0000000..b5d997f --- /dev/null +++ b/html/encyclopedia/chemistry.html @@ -0,0 +1,39 @@ +<!DOCTYPE html> +<html lang="da"> + <!--#include virtual="/include/head.shtml"--> + <head> + <script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script> + <script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script> + </head> + <body> + <!--#include virtual="/include/pghdr.shtml"--> + <div class="content"> + <p class="pageTitle">Leksikon<sub> Kemi</sub></p> + <div class="section" id="measures-and-units"> + <p class="large">Mål og Enheder</p> + <table> + <tr> + <th>Mål</th> + <th>Enhed</th> + </tr> + <tr> + <td>mollarmasse (M)</td> + <td>kilogram pr. mol (kg/mol)</td> + </tr> + <tr> + <td>stofmængde (n)</td> + <td>mol (mol)</td> + </tr> + </table> + <p>Evt. se <a href="/html/encyclopedia/physics.html#measures-and-units">fysikkens enheder</a>.</p> + </div> + <div class="section" id="formulas"> + <p class="large">Formler</p> + <p class="math">\(m = Mn\)</p> + <p class="math">\(M = \frac{m}{n}\)</p> + <p class="math">\(n = \frac{M}{m}\)</p> + </div> + </div> + <!--#include virtual="/include/pgftr.shtml"--> + </body> +</html> diff --git a/html/encyclopedia/mathematics.html b/html/encyclopedia/mathematics.html index 426e717..98a79e0 100644 --- a/html/encyclopedia/mathematics.html +++ b/html/encyclopedia/mathematics.html @@ -148,6 +148,46 @@ <p class="math">\(O_1 = O_0 k\)</p> <p class="math">\(A_1 = A_0 k ^ 2\)</p> </div> + <div class="section" id="constants"> + <p class="large">Konstanter</p> + <table> + <tr> + <th>Navn</th> + <th>Symbol</th> + </tr> + <tr> + <td>Pythagoras' konstant</td> + <td class="math">\(\sqrt[2]{2}\)</td> + </tr> + <tr> + <td>Theodorus' konstant</td> + <td class="math">\(\sqrt[2]{3}\)</td> + </tr> + <tr> + <td>Eulers tal</td> + <td class="math">\(e\)</td> + </tr> + <tr> + <td>den imaginære enhed</td> + <td class="math">\(i\)</td> + </tr> + <tr> + <td>Arkimedes' konstant (<i>pi</i>)</td> + <td class="math">\(\pi\)</td> + </tr> + <tr> + <td><sub>den </sub>gyldne ratio</td> + <td class="math">\(\phi\)</td> + </tr> + </table> + <br /> + <p class="math">\(\sqrt[2]{2} \approx \frac{1 414 213 562}{10 ^ 9}\)</p> + <p class="math">\(\sqrt[2]{3} \approx \frac{1 732 050 808}{10 ^ 9}\)</p> + <p class="math">\(e = \sum_{n = 0} ^ \infty \frac{1}{n!} \approx \frac{2 718 281 828}{10 ^ 9}\)</p> + <p class="math">\(i = \sqrt[2]{-1}\)</p> + <p class="math">\(\pi \approx \frac{3 141 592 654}{10 ^ 9}\)</p> + <p class="math">\(\phi = \frac{1 + \sqrt[2]{5}}{2} \approx \frac{1 618 033 989}{10 ^ 9}\)</p> + </div> </div> <!--#include virtual="/include/pgftr.shtml"--> </body> diff --git a/html/encyclopedia/physics.html b/html/encyclopedia/physics.html index bd9ec66..9e9afe4 100644 --- a/html/encyclopedia/physics.html +++ b/html/encyclopedia/physics.html @@ -14,76 +14,171 @@ <table> <tr> <th>Mål</th> + <th>Tegn<sub> af mål</sub></th> <th>Enhed</th> + <th>Tegn<sub> af enhed</sub></th> + </tr> + <tr class="small"> + <th colspan="4">Grundlæggende Mål</th> + </tr> + <tr> + <td>strømstyrke</td> + <td class="math">\(I\)</td> + <td>ampere</td> + <td class="math">\(A\)</td> </tr> <tr> - <td>areal (A)</td> - <td>kvadratmeter (m²)</td> + <td>masse</td> + <td class="math">\(m\)</td> + <td>kilogram</td> + <td class="math">\(kg\)</td> </tr> <tr> - <td>acceleration (a)</td> - <td>meter pr. sekund pr. sekund (m/s/s)</td> + <td>distance</td> + <td class="math">\(s\)</td> + <td>meter</td> + <td class="math">\(m\)</td> </tr> <tr> - <td>varmekapacitet (C)</td> - <td>joule pr. kelvin (J/K)</td> + <td>temperatur</td> + <td class="math">\(T\)</td> + <td>kelvin</td> + <td class="math">\(K\)</td> + </tr> + <tr> + <td>tid</td> + <td class="math">\(t\)</td> + <td>sekund</td> + <td class="math">\(s\)</td> + </tr> + <tr class="small"> + <th colspan="4">Afledte Mål</th> </tr> <tr> - <td>specifik varmekapacitet (c)</td> - <td>joule pr. kelvin pr. kilogram (J/K/kg)</td> + <td>areal</td> + <td class="math">\(A\)</td> + <td>kvadratmeter</td> + <td class="math">\(m ^ 2\)</td> </tr> <tr> - <td>effekt (P)</td> - <td>watt (W)</td> + <td>acceleration</td> + <td class="math">\(a\)</td> + <td>meter pr. kvadratsekund</td> + <td class="math">\(\frac{m}{s ^ 2}\)</td> </tr> <tr> - <td>energi (E)</td> - <td>joule (J)</td> + <td>varmekapacitet</td> + <td class="math">\(C\)</td> + <td>joule pr. kelvin</td> + <td class="math">\(\frac{J}{K}\)</td> </tr> <tr> - <td>volumen (V)</td> - <td>kubikmeter (m³)</td> + <td>specifik varmekapacitet</td> + <td class="math">\(c\)</td> + <td>joule pr. kelvin gange kilogram</td> + <td class="math">\(\frac{J}{K \cdot kg}\)</td> </tr> <tr> - <td>hastighed (v)</td> - <td>meter pr. sekund (m/s)</td> + <td>effekt</td> + <td class="math">\(P\)</td> + <td>watt</td> + <td class="math">\(W\)</td> </tr> <tr> - <td>kraft (F)</td> - <td>newton (N)</td> + <td>energi</td> + <td class="math">\(E\)</td> + <td>joule</td> + <td class="math">\(J\)</td> </tr> <tr> - <td>masse (m)</td> - <td>kilogram (kg)</td> + <td>volumen</td> + <td class="math">\(V\)</td> + <td>kubikmeter</td> + <td class="math">\(m ^ 3\)</td> </tr> <tr> - <td>tryk (p)</td> - <td>pascal (Pa)</td> + <td>hastighed</td> + <td class="math">\(v\)</td> + <td>meter pr. sekund</td> + <td class="math">\(\frac{m}{s}\)</td> </tr> <tr> - <td>distance (s)</td> - <td>meter (Pa)</td> + <td>kraft</td> + <td class="math">\(F\)</td> + <td>newton</td> + <td class="math">\(N\)</td> </tr> <tr> - <td>temperatur (T)</td> - <td>kelvin (K)</td> + <td>tryk</td> + <td class="math">\(p\)</td> + <td>pascal</td> + <td class="math">\(Pa\)</td> </tr> <tr> - <td>tid (t)</td> - <td>sekund (s)</td> + <td>ladning</td> + <td class="math">\(q\)</td> + <td>coulomb</td> + <td class="math">\(C\)</td> </tr> <tr> - <td>densitet (ρ)</td> - <td>kilogram pr. kubikmeter (kg/m³)</td> + <td>densitet</td> + <td class="math">\(\rho\)</td> + <td>kilogram pr. kubikmeter</td> + <td class="math">\(\frac{kg}{m ^ 3}\)</td> </tr> </table> + <p>Yderligere mål:</p> + <table> + <tr> + <th>Mål</th> + <th>Tegn</th> + <th>Afledt af</th> + </tr> + <tr> + <td>tyngdeacceleration</td> + <td class="math">\(g\)</td> + <td>acceleration</td> + </tr> + <tr> + <td>kinetisk energi</td> + <td class="math">\(K\)</td> + <td>energi</td> + </tr> + <tr> + <td>potentiel energi</td> + <td class="math">\(U\)</td> + <td>energi</td> + </tr> + <tr> + <td>varmeenergi</td> + <td class="math">\(Q\)</td> + <td>energi</td> + </tr> + </table> + <p>Evt. se <a href="/html/encyclopedia/chemistry.html#measures-and-units">kemiens enheder</a>.</p> + <br /> + <p class="math">\(A = \frac{C}{s}\)</p> + <br /> + <p class="math">\(J = \frac{kg \cdot m ^ 2}{s ^ 2}\)</p> + <p class="math">\(J = Nm\)</p> + <p class="math">\(J = Ws\)</p> + <br /> + <p class="math">\(N = \frac{kg \cdot m}{s ^ 2}\)</p> + <br /> + <p class="math">\(W = \frac{J}{s}\)</p> </div> <div class="section" id="formulas"> <p class="large">Formler</p> + <p>Af et rektangel:</p> <p class="math">\(\rho = \frac{m}{V}\)</p> <br /> + <p>På en planet:</p> + <p class="math">\(a = \frac{G m_{0} m_{1}}{r ^ {2}}\)</p> + <p class="math">\(g = \frac{981}{100} \frac{m}{s ^ 2}\)</p> + <p>... på Jorden.</p> + <br /> <p class="math">\(F = m a\)</p> - <p>Mellem to objekter:</p> + <p>Gravtitation mellem to objekter:</p> <p class="math">\(F = \frac{G m_{0} m_{1}}{r ^ {2}}\)</p> <p>... hvori <i>r</i> er radiusen mellem centrene af de to objekter.</p> <br /> @@ -91,13 +186,46 @@ <br /> <p class="math">\(P = \frac{E}{t}\)</p> <br /> - <p class="math">\(E = F m\)</p> + <p class="math">\(E = F s\)</p> <p class="math">\(E = P t\)</p> <p class="math">\(K = \frac{mv ^ {2}}{2}\)</p> - <p class="math">\(Q = C \Delta T = c m \Delta T\)</p> + <p class="math">\(Q = C T = c m T\)</p> <p>Gravitation:</p> - <p class="math">\(U = m g h\)</p> - <p>... hvori <i>g</i> er den lokale tyngeacceleration.</p> + <p class="math">\(U = m g s\)</p> + <p>... hvori <i>g</i> er den lokale tyngeacceleration og <i>s</i> er afstanden til centret af planeten.</p> + </div> + <div class="section" id="constants"> + <p class="large">Konstanter</p> + <table> + <tr> + <th>Navn</th> + <th>Symbol</th> + </tr> + <tr> + <td>Lysets hastighed i et vakuum</td> + <td class="math">\(c\)</td> + </tr> + <tr> + <td>Elementærladningen</td> + <td class="math">\(e\)</td> + </tr> + <tr> + <td>Gravitationskonstanten</td> + <td class="math">\(G\)</td> + </tr> + <tr> + <td>Boltzmannskonstanten</td> + <td class="math">\(k_b\)</td> + </tr> + </table> + <br /> + <p class="math">\(c = 299 792 458  \frac{m}{s}\)</p> + <br /> + <p class="math">\(e = \frac{1 602 176 634}{10 ^ {19}} C \)</p> + <br /> + <p class="math">\(G \approx \frac{66 743}{10 ^ {15}} \frac{m ^ 3}{kg \cdot s ^ 2}\)</p> + <br /> + <p class="math">\(k_b = \frac{1 380 649}{10 ^ {29}} \frac{J}{K}\)</p> </div> </div> <!--#include virtual="/include/pgftr.shtml"--> |