lehrkraefte:blc:miniaufgaben:kw46-2017

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
lehrkraefte:blc:miniaufgaben:kw46-2017 [2017/11/17 13:05]
Ivo Blöchliger created
lehrkraefte:blc:miniaufgaben:kw46-2017 [2023/10/25 07:48] (current)
Ivo Blöchliger
Line 1: Line 1:
-<JS+<PRELOAD
-function generate(jQuery, idex, idsol, ex, sep="<br>") { +miniaufgabe.js 
-    var drei=function(n) { +</PRELOAD>
-      var one = Math.floor(Math.random()*(n-2));   +
-      var two = Math.floor(Math.random()*(n-2)); +
-      if (one>two) { +
-          var h = one; +
-          one = two; +
-          two = h; +
-      } +
-      var three = Math.floor(Math.random()*(n-2)); +
-      if (two>=one) { +
-          two++; +
-      } +
-      if (three>=one) { +
-          three++; +
-      } +
-      if (three>=two) { +
-          three++; +
-      } +
-      return [one,two,three]; +
-    }; +
-     +
-    var selec=drei(ex.length); +
-    //console.log(selec); +
-     +
-    for (var i=0; i<3; i++) { +
-       //console.log(selec[i]); +
-       jQuery(idex).append((i+1)+". &nbsp; "+ex[selec[i]][0]+sep); +
-       jQuery(idsol).append((i+1)+". &nbsp; "+ex[selec[i]][1]+"<br>"); +
-    } +
-     +
-} +
-</JS>+
  
  
Line 41: Line 10:
 Schreiben Sie folgende Summen mit dem Summenzeichen: Schreiben Sie folgende Summen mit dem Summenzeichen:
 <JS> <JS>
-jQuery(function() {generate(jQuery, "#exosum","#solsum", +miniAufgabe("#exosum","#solsum", 
-[["$s=(-7)+0+7+14+\\ldots+63+70+77+84$", "$s=\\displaystyle \\sum_{i=1}^{14}\\left(-7+(i-1)\\cdot7\\right)$"], ["$s=8+(-24)+72+(-216)+\\ldots+(-2^{3}\\cdot3^{31})$", "$s=\\displaystyle \\sum_{i=1}^{32}8\\cdot(-3)^{(i-1)}$"], ["$s=11+5+(-1)+(-7)+\\ldots+(-193)+(-199)+(-205)+(-211)$", "$s=\\displaystyle \\sum_{i=1}^{38}\\left(11+(i-1)\\cdot(-6)\\right)$"], ["$s=6+12+24+48+\\ldots+2^{26}\\cdot3$", "$s=\\displaystyle \\sum_{i=1}^{26}6\\cdot2^{(i-1)}$"], ["$s=9+11+13+15+\\ldots+45+47+49+51$", "$s=\\displaystyle \\sum_{i=1}^{22}\\left(9+(i-1)\\cdot2\\right)$"], ["$s=4+12+36+108+\\ldots+2^{2}\\cdot3^{19}$", "$s=\\displaystyle \\sum_{i=1}^{20}4\\cdot3^{(i-1)}$"], ["$s=10+18+26+34+\\ldots+130+138+146+154$", "$s=\\displaystyle \\sum_{i=1}^{19}\\left(10+(i-1)\\cdot8\\right)$"], ["$s=(-4)+16+(-64)+256+\\ldots+(-2^{30})$", "$s=\\displaystyle \\sum_{i=1}^{15}-4\\cdot(-4)^{(i-1)}$"], ["$s=(-5)+(-13)+(-21)+(-29)+\\ldots+(-141)+(-149)+(-157)+(-165)$", "$s=\\displaystyle \\sum_{i=1}^{21}\\left(-5+(i-1)\\cdot(-8)\\right)$"], ["$s=8+32+128+512+\\ldots+2^{39}$", "$s=\\displaystyle \\sum_{i=1}^{19}8\\cdot4^{(i-1)}$"], ["$s=(-9)+(-14)+(-19)+(-24)+\\ldots+(-169)+(-174)+(-179)+(-184)$", "$s=\\displaystyle \\sum_{i=1}^{36}\\left(-9+(i-1)\\cdot(-5)\\right)$"], ["$s=7+(-14)+28+(-56)+\\ldots+2^{18}\\cdot7$", "$s=\\displaystyle \\sum_{i=1}^{19}7\\cdot(-2)^{(i-1)}$"]] +[["$s=(-7)+0+7+14+\\ldots+63+70+77+84$", "$s=\\displaystyle \\sum_{i=1}^{14}\\left(-7+(i-1)\\cdot7\\right)$"], ["$s=8+(-24)+72+(-216)+\\ldots+(-2^{3}\\cdot3^{31})$", "$s=\\displaystyle \\sum_{i=1}^{32}8\\cdot(-3)^{(i-1)}$"], ["$s=11+5+(-1)+(-7)+\\ldots+(-193)+(-199)+(-205)+(-211)$", "$s=\\displaystyle \\sum_{i=1}^{38}\\left(11+(i-1)\\cdot(-6)\\right)$"], ["$s=6+12+24+48+\\ldots+2^{26}\\cdot3$", "$s=\\displaystyle \\sum_{i=1}^{26}6\\cdot2^{(i-1)}$"], ["$s=9+11+13+15+\\ldots+45+47+49+51$", "$s=\\displaystyle \\sum_{i=1}^{22}\\left(9+(i-1)\\cdot2\\right)$"], ["$s=4+12+36+108+\\ldots+2^{2}\\cdot3^{19}$", "$s=\\displaystyle \\sum_{i=1}^{20}4\\cdot3^{(i-1)}$"], ["$s=10+18+26+34+\\ldots+130+138+146+154$", "$s=\\displaystyle \\sum_{i=1}^{19}\\left(10+(i-1)\\cdot8\\right)$"], ["$s=(-4)+16+(-64)+256+\\ldots+(-2^{30})$", "$s=\\displaystyle \\sum_{i=1}^{15}-4\\cdot(-4)^{(i-1)}$"], ["$s=(-5)+(-13)+(-21)+(-29)+\\ldots+(-141)+(-149)+(-157)+(-165)$", "$s=\\displaystyle \\sum_{i=1}^{21}\\left(-5+(i-1)\\cdot(-8)\\right)$"], ["$s=8+32+128+512+\\ldots+2^{39}$", "$s=\\displaystyle \\sum_{i=1}^{19}8\\cdot4^{(i-1)}$"], ["$s=(-9)+(-14)+(-19)+(-24)+\\ldots+(-169)+(-174)+(-179)+(-184)$", "$s=\\displaystyle \\sum_{i=1}^{36}\\left(-9+(i-1)\\cdot(-5)\\right)$"], ["$s=7+(-14)+28+(-56)+\\ldots+2^{18}\\cdot7$", "$s=\\displaystyle \\sum_{i=1}^{19}7\\cdot(-2)^{(i-1)}$"]]);
-);});+
 </JS> </JS>
 <HTML> <HTML>
Line 55: Line 23:
 </HTML> </HTML>
 </hidden> </hidden>
 +
  • lehrkraefte/blc/miniaufgaben/kw46-2017.1510920347.txt.gz
  • Last modified: 2017/11/17 13:05
  • by Ivo Blöchliger