Versionsvergleich
Aus ProgrammingWiki
Vergleich: 2017-03-24T09:24:30+00:00 → 2017-03-31T08:02:31+00:00
<language>Javascript</language> | |
==Mathematik== | |
===Satz des Pythagoras=== | |
<math>c^2=a^2*b^2</math> | |
===Prozentrechnungsgleichung=== | |
<math>\frac{W}{P}=\frac{G}{100}</math> | |
===Jahreszinsen=== | |
<math>Z=\frac{K*P}{100}</math> | |
===Tageszinsen=== | |
<math>Z_T =\frac{K*P*T}{100*360} =\frac{\frac{1}{100}*K*t}{D}</math> | |
===Quaderdiagonale=== | |
<math>e=\sqrt{a^2+b^2+c^2}</math> | |
===Würfeldiagonale=== | |
<math>e=a\sqrt{3}</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="58d4e5ce0f538"> | |
function Geschwindigkeit(s, t){ | |
var v = s / t; | |
return v; | |
} | |
</code> | |
Ausgabe der Durchschnittsgeschwindigkeit in <math>\frac{km}{h}</math>: | |
<run id="58d4e5ce0f5b0"> | |
Geschwindigkeit(22, 0.833) | |
</run> | |
| + | ===Dichteberechnung=== |
| + | <math>\rho=\frac{m}{V}</math> |
| + | ====Beispiel==== |
| + | Eingabe der Masse in <math>m</math>;Eingabe des Volumen in <math>V</math>: |
| + | <code id="58de088681740"> |
| + | function Dichte(m, V){ |
| + | var rho = m / V; |
| + | return rho; |
| + | } |
| + | </code> |
| + | Ausgabe der Dichte in <math>\frac{g}{cm^3}</math>: |
| + | <run id="58de0886817c3" > |
| + | Dichte(22, 0.833) |
| + | </run> |
| + | |
==Physik== | |
===Hubarbeit=== | |
<math>W=F_G*s=m*g*s</math> | |
| + | <language>Javascript</language> |
===Freier Fall=== | |
<math>s=\frac{g}{2}*t^2</math> | |
| + | ====Beispiel==== |
| + | Eingabe der zeit in <math>t</math>;Eingabe Newton pro kg <math>g</math> |
| + | <code id="58de0d1641a16" > |
| + | function Freier Fall(9,81, t){ |
| + | var s = 9,81 / 2 * (t*t); |
| + | return s; |
| + | } |
| + | </code> |
| + | Ausgabe des Weges in <math>m</math>: |
| + | <run id="58de0d1641aa6" > |
| + | Freier Fall(10) |
| + | </run> |