Lade Daten...
["K", "Z"] _.map(ONE_FLIP, function(result) { return (SEQUENCE.match(RegExp("(?=" + result + ")", "g")) || []).length }) ["KK", "KZ", "ZK", "ZZ"] _.map(TWO_FLIP, function(result) { return (SEQUENCE.match(RegExp("(?=" + result + ")", "g")) || []).length }) ['KKK','KKZ','ZKK','KZK','ZKZ','KZZ','ZZK','ZZZ'] _.map(THREE_FLIP, function(result) { return (SEQUENCE.match(RegExp("(?=" + result + ")", "g")) || []).length }) [ $._("Faire Münze"), $._("Unfaire Münze"), $._("menschliche Schätzungen") ]

Welche Methode wurde verwendet, um diese Folge von Kopf und Zahl zu generieren?

K
Z
init({ range: [[0, 15], [0, 6]], scale: [31, 54] }); label([8, 6], "K vs. Z", "below", false).css({ "font-size": "16px", "color": "#444444" }); style({ "stroke": "#cccccc", "stroke-width": 1 }, function() { _(5).times(function(i) { line([0.2, i + (54.5 / 54)], [15.8, i + (54.5 / 54)]); }); }); _.each(ONE_FLIP, function(caption, n) { label([8 * n + 4, 1], caption, "below", false).css({ "font-size": "13px", "color": "#444444" }); }); style({ fill: "#0787B8", strokeWidth: 0 }, function() { rect(2, 1, 4, ONE_FLIP_RESULT[0] / SEQUENCE.length * 5); }); style({ fill: "#00A7E6", strokeWidth: 0 }, function() { rect(10, 1, 4, ONE_FLIP_RESULT[1] / SEQUENCE.length * 5); });
init({ range: [[0, 16], [0, 6]], scale: [31, 54] }); label([8, 6], $._("Paarweise Häufigkeit"), "below", false).css({ "font-size": "16px", "color": "#444444" }); style({ "stroke": "#cccccc", "stroke-width": 1 }, function() { _(5).times(function(i) { line([0.2, i + (54.5 / 54)], [15.8, i + (54.5 / 54)]); }); }); _.each(TWO_FLIP, function(caption, n) { label([4 * n + 2, 1], caption, "below", false).css({ "font-size": "13px", "color": "#444444" }); }); style({ fill: "#00A7E6", strokeWidth: 0 }, function() { _.each(TWO_FLIP_RESULT, function(count, n) { rect(4 * n + 1, 1, 2, count / SEQUENCE.length * 7); }); });
init({ range: [[0, 16], [0, 6]], scale: [31, 54] }); label([8, 6], $._("Häufigkeit für drei Würfe"), "below", false).css({ "font-size": "16px", "color": "#444444" }); style({ "stroke": "#cccccc", "stroke-width": 1 }, function() { _(5).times(function(i) { line([0.2, i + (54.5 / 54)], [15.8, i + (54.5 / 54)]); }); }); _.each(THREE_FLIP, function(caption, n) { label([2 * n + 1, 1], caption, "below", false).css({ "font-size": "13px", "color": "#444444" }); }); style({ fill: "#00A7E6", strokeWidth: 0 }, function() { _.each(THREE_FLIP_RESULT, function(count, n) { rect(2 * n + 0.5, 1, 1, count / SEQUENCE.length * 9); }); });

Diagramme: Münzwürfe | K vs. Z | Paarweise Häufigkeit | Häufigkeit für drei Würfe

MatheGuru.scratchpad.disable(); $('.pattern-tabs a').on('click', function(e) { var $el = $(e.currentTarget); $('.pattern-tabs a').removeClass("selected"); $el.addClass("selected"); var charts = $('#charts'); var offset = $el.data("offset") * -1 * 496; charts.animate({marginLeft: offset}); return false; });

CHOICES[SOLUTION]

randFromArray(["K", "Z"], 276).join("") 0
randFromArray(randFromArray([ ["K", "K", "K", "Z", "Z"], ["K", "K", "Z", "Z", "Z"] ]), 276).join("") 1
randFromArray([ "KZKKZKZKZKZKZKKKZKZKZKZKKKKZKZZKKZKKZKZKZKZKZK" + "KZKZKZKZKZKZKKKZKZKZKZKKZKZKZZZKKZKKZKZKKKZKKZ" + "KZKZKKKZKKZZZKKZKKZKZKZKZKZZKKKZKZKKZKKZKZKZKZ" + "KZKZKZKZKKZKZKZKKKKZZZKZKZZKZKZKKKZKZKZZZKZKKZ" + "KZZZKZKZKZKZKZKZKZKZZKZKZKZKZKKKKZZKZKZZKZKZZZ" + "KZKZKZKKZZKZKZKZKZKZKZKZKZKZKZKZKZKKZKZKZKZZKZ", "KKKZZZKZZZKZKKKKZKZZKZKZKZKKKZKZZZKZKKZKZKZKZK" + "KKKZZZZKZKZKKZKKKKZKKZZKZKZZZZKZKZKZKKZZZKZKZK" + "ZKKZZKZKZKKZKZKZKZKKZKKZKKZKKZKKZZZKZKZKZKKZKZ" + "KKKZZZZKZKKZZKZZZKZKZKKKZKZKZKZKZKZKKKZKZKZKKZ" + "KKZZZKKZKZKKZKZKZKZKZZZKZKZKKKZKKZZKZKKZKZZKKK" + "ZKZKKZKKZKZKZKKZKZKKKKZKZKZKKZKKZKKZZZKKZKZKKK", "KKKZKZZZKZKKKZKZKZKZZZZKZKKZKKKZKKZKKKZZZKKKZZ" + "KKZKKKZZZZKZKZKZZKZKKKKZKZKKZKKZKZZKZKZZKZZKKZ" + "ZZKZKKKZKZKZKZKZKZZKZKKZKZKKKKZZKZKZKKZKKZKZZZ" + "ZKKKZKZZKKKKZZKZKKZKZKZKZKKZKZKZKKZKZKZKZZKKKK" + "KZZKKZZKZZKZKKZZKZKZZZKZKZKZZKZKZKKKKKZZKZKZKZ" + "ZKZKZKKZKZKZKZKKKZKZZKZKZKZKZKKZKZKZZZZKZKKZZK" ]) 2