widerstandsrechner.html 9.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202
  1. <!DOCTYPE html>
  2. <html lang="de">
  3. <head>
  4. <meta charset="UTF-8">
  5. <title>Widerstand</title>
  6. <meta name="author" content="Marek K&uuml;the">
  7. <meta name="web_author" content="Marek K&uuml;the">
  8. <meta name="creator" content="Marek K&uuml;the">
  9. <meta name="title" content="Widerstand">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  11. <meta name="robots" content="index">
  12. <meta name="description" content="Statt den Widerstand immer ausrechnen, kann man auf dieser Seite ganz einfach die Farben ausw&auml;hlen und der Widerstand wird auf magische Weise angezeigt (in Ohm, Kiloohm und Megaohm).">
  13. <meta name="keywords" content="Widerstand,Farbcodes,Berechnen,Click & Result">
  14. <meta name="language" content="German">
  15. <meta name="theme-color" content="#262626">
  16. <meta name="DC.Subject" content="Widerstand">
  17. <meta name="DC.Creator" content="Marek K&uuml;the">
  18. <meta name="DC.Description" content="Statt den Widerstand immer ausrechnen, kann man auf dieser Seite ganz einfach die Farben ausw&auml;hlen und der Widerstand wird auf magische Weise angezeigt (in Ohm, Kiloohm und Megaohm).">
  19. <meta name="DC.Language" content="de">
  20. <meta name="DC.Format" content="text/html">
  21. <link rel="stylesheet" href="/assets/css/widerstandsrechner.css" integrity="sha384-g0FPDetmTMhbLm8OXSteG0wPbDbhEHT7Ifa7Z7xcPCpO5q2IRGKjfjigkxofYtno">
  22. <script src="/assets/js/widerstandsrechner.js" integrity="sha384-vJTTWs71FnwX9rrhFIMebiEFK5/QfBpsbRvZa9oGbdq8uWi8k4qDb7wSWrZSLX5t"></script>
  23. </head>
  24. <body>
  25. <div id="title">
  26. <h1>Widerstandsrechner</h1>
  27. </div>
  28. <noscript>
  29. <span class="noscript">
  30. Der Widerstandsrechner benutzt JavaScript zur Berechnung. Es
  31. werden keine externen JavaScripts geladen. Um also den
  32. Widerstandsrechner zu benutzten, muss JavaScript aktiviert sein.
  33. </span>
  34. </noscript>
  35. <div class="nocss">
  36. <hr>
  37. <hr>
  38. Um den Widerstandsrechner im vollen Umfang zu nutzen, muss CSS
  39. aktiviert sein. Sollte der aktuelle Browser kein CSS unterst&uuml;tzen,
  40. wird empfohlen einen modernen Browser zu verwenden.
  41. <hr>
  42. <hr>
  43. </div>
  44. <div id="settings">
  45. <div class="nocss">
  46. <br><hr>
  47. </div>
  48. <table>
  49. <thead>
  50. <tr>
  51. <th>Erste Zahl</th>
  52. <th>Zweite Zahl</th>
  53. <th>Dritte Zahl</th>
  54. <th>Multiplikator</th>
  55. <th>Toleranz</th>
  56. </tr>
  57. </thead>
  58. <tbody>
  59. <tr>
  60. <td class="black color_option" onclick="javascript:set_number(0, 0);">0</td>
  61. <td class="black color_option" onclick="javascript:set_number(1, 0);">0</td>
  62. <td class="black color_option" onclick="javascript:set_number(2, 0);">0</td>
  63. <td class="black color_option" onclick="javascript:set_number(3, 0);">0</td>
  64. <td class="none"></td>
  65. </tr>
  66. <tr>
  67. <td class="brown color_option" onclick="javascript:set_number(0, 1);">1</td>
  68. <td class="brown color_option" onclick="javascript:set_number(1, 1);">1</td>
  69. <td class="brown color_option" onclick="javascript:set_number(2, 1);">1</td>
  70. <td class="brown color_option" onclick="javascript:set_number(3, 1);">1</td>
  71. <td class="brown color_option" onclick="javascript:set_number(4, 1);">&plusmn;1%</td>
  72. </tr>
  73. <tr>
  74. <td class="red color_option" onclick="javascript:set_number(0, 2);">2</td>
  75. <td class="red color_option" onclick="javascript:set_number(1, 2);">2</td>
  76. <td class="red color_option" onclick="javascript:set_number(2, 2);">2</td>
  77. <td class="red color_option" onclick="javascript:set_number(3, 2);">2</td>
  78. <td class="red color_option" onclick="javascript:set_number(4, 2);">&plusmn;2%</td>
  79. </tr>
  80. <tr>
  81. <td class="orange color_option" onclick="javascript:set_number(0, 3);">3</td>
  82. <td class="orange color_option" onclick="javascript:set_number(1, 3);">3</td>
  83. <td class="orange color_option" onclick="javascript:set_number(2, 3);">3</td>
  84. <td class="orange color_option" onclick="javascript:set_number(3, 3);">3</td>
  85. <td class="none"></td>
  86. </tr>
  87. <tr>
  88. <td class="yellow color_option" onclick="javascript:set_number(0, 4);">4</td>
  89. <td class="yellow color_option" onclick="javascript:set_number(1, 4);">4</td>
  90. <td class="yellow color_option" onclick="javascript:set_number(2, 4);">4</td>
  91. <td class="yellow color_option" onclick="javascript:set_number(3, 4);">4</td>
  92. <td class="gold color_option" onclick="javascript:set_number(4, 5);">&plusmn;5%</td>
  93. </tr>
  94. <tr>
  95. <td class="green color_option" onclick="javascript:set_number(0, 5);">5</td>
  96. <td class="green color_option" onclick="javascript:set_number(1, 5);">5</td>
  97. <td class="green color_option" onclick="javascript:set_number(2, 5);">5</td>
  98. <td class="green color_option" onclick="javascript:set_number(3, 5);">5</td>
  99. <td class="none"></td>
  100. </tr>
  101. <tr>
  102. <td class="blue color_option" onclick="javascript:set_number(0, 6);">6</td>
  103. <td class="blue color_option" onclick="javascript:set_number(1, 6);">6</td>
  104. <td class="blue color_option" onclick="javascript:set_number(2, 6);">6</td>
  105. <td class="blue color_option" onclick="javascript:set_number(3, 6);">6</td>
  106. <td class="none"></td>
  107. </tr>
  108. <tr>
  109. <td class="purple color_option" onclick="javascript:set_number(0, 7);">7</td>
  110. <td class="purple color_option" onclick="javascript:set_number(1, 7);">7</td>
  111. <td class="purple color_option" onclick="javascript:set_number(2, 7);">7</td>
  112. <td class="purple color_option" onclick="javascript:set_number(3, 7);">7</td>
  113. <td class="none"></td>
  114. </tr>
  115. <tr>
  116. <td class="gray color_option" onclick="javascript:set_number(0, 8);">8</td>
  117. <td class="gray color_option" onclick="javascript:set_number(1, 8);">8</td>
  118. <td class="gray color_option" onclick="javascript:set_number(2, 8);">8</td>
  119. <td class="gray color_option" onclick="javascript:set_number(3, 8);">8</td>
  120. <td class="silver color_option" onclick="javascript:set_number(4, 10);">&plusmn;10%</td>
  121. </tr>
  122. <tr>
  123. <td class="white color_option" onclick="javascript:set_number(0, 9);">9</td>
  124. <td class="white color_option" onclick="javascript:set_number(1, 9);">9</td>
  125. <td class="white color_option" onclick="javascript:set_number(2, 9);">9</td>
  126. <td class="white color_option" onclick="javascript:set_number(3, 9);">9</td>
  127. <td class="none"></td>
  128. </tr>
  129. </tbody>
  130. </table>
  131. <p class="note">
  132. Bei einem Widerstand mit vier Ringen kann man die erste Zahl auf null lassen bzw. stellen.
  133. </p>
  134. <div class="nocss">
  135. <br><hr>
  136. </div>
  137. </div>
  138. <br>
  139. <div id="result">
  140. <div class="nocss">
  141. <br><hr>
  142. </div>
  143. <math>
  144. <mn id="num1" class="black">0</mn>
  145. <mn id="num2" class="black">0</mn>
  146. <mn id="num3" class="black">0</mn>
  147. <mo>*</mo>
  148. <msup id="full_exp" class="black">
  149. <mn>10</mn>
  150. <mn id="exp">0</mn>
  151. </msup>
  152. <mo>&plusmn;</mo>
  153. <mn id="toleranz1" class="gold">5%</mn>
  154. <mo>=</mo>
  155. </math>
  156. <br>
  157. <math>
  158. <mn id="result_ohm">0</mn>
  159. <mi mathvariant="normal">&ohm;</mi>
  160. <mo>&plusmn;</mo>
  161. <mn id="toleranz2">5%</mn>
  162. <mo>=</mo>
  163. </math>
  164. <br>
  165. <math>
  166. <mn id="result_kohm">0</mn>
  167. <mi mathvariant="normal">k&ohm;</mi>
  168. <mo>&plusmn;</mo>
  169. <mn id="toleranz3">5%</mn>
  170. <mo>=</mo>
  171. </math>
  172. <br>
  173. <math>
  174. <mn id="result_mohm">0</mn>
  175. <mi mathvariant="normal">M&ohm;</mi>
  176. <mo>&plusmn;</mo>
  177. <mn id="toleranz4">5%</mn>
  178. </math>
  179. <div class="nocss">
  180. <br><hr>
  181. </div>
  182. </div>
  183. </body>
  184. </html>