Versionsvergleich

Aus ProgrammingWiki

Vergleich: 2017-03-24T08:48:46+00:00 → 2018-06-01T17:18:39+00:00

+
<language>Javascript</language>
+
==Mathematik==
===Satz des Pythagoras===
*<math>a^2+b^2=c^2</math>
−
===Volumen===
+
===Volumen von Körpern===
*Würfel:<math> V=a^3</math>
*Quader:<math> V=a \cdot b \cdot c</math>
*(quadratische) Pyramide:<math> V=\frac{1}{3} \cdot a^2 \cdot h</math>
−
*Tetraeder:<math>V= \frac</math>
+
*Tetraeder:<math>V= \frac {a^3}{12} \cdot \sqrt{2}</math>
+
*gerader Kegel:<math>V= \frac {\pi}{3}\cdot r^2\cdot h</math>
+
+
+
+
==Physik==
+
+
===Hebelgesetz===
+
*<math>F_1 \cdot l_1=F_2 \cdot l_2</math>
+
===Geschwindigkeit===
+
*<math>v= \frac {s}{t}</math>
+
=====Beispiel=====
+
Eingabe des Weges in <math>km</math>; Eingabe der Zeit in <math>h</math>
+
<code id="58d4e5d03186b">
+
function Geschwindigkeit(s, t){
+
var v = s/t;
+
return v;
+
return Math.round(1000 * v) / 1000;
+
}
+
</code>
+
Ausgabe der Durschnittsgeschwindigkeit in <math>\frac {km}{h}</math>
+
<run id="58d4e5d0318dd">
+
Geschwindigkeit(22, 0.833)
+
</run>
+
+
===Dichte===
+
*wird angegeben in <math>\frac{g}{cm^3}</math>
+
*'''Berechnung der Dichte (1 <math>cm^3</math>)'''
+
+
<code id="58de0b34c94d7">
+
function Dichte (m, V) {
+
var rho = m/V
+
return Math.round(1000 * rho) / 1000;
+
}
+
</code>
+
*Dichte (Masse in g, Volumen in <math>cm^3</math>)
+
<run id="58de0b34c955f">Dichte ("m","V")</run>
+
*'''einige Beispiele''' (bei 25°C und normalen Luftdruck)
+
 Aluminium :2,7 <math>\frac{g}{cm^3}</math>
+
+
 Antimon :6,68 <math>\frac{g}{cm^3}</math>
+
+
 Blei :11,342 <math>\frac{g}{cm^3}</math>
+
+
 Cadmium :8,65 <math>\frac{g}{cm^3}</math>
+
+
 Chromium :7,14 <math>\frac{g}{cm^3}</math>
+
+
 Eisen :7,874 <math>\frac{g}{cm^3}</math>
+
+
 Schwefel :2,07 <math>\frac{g}{cm^3}</math>