Nothing to see here. It's only my playground for future articles or blog posts.
Everything on this page is a draft and will be deleted when the final post is published.
If you do see something here, it's probably a blog post in the making. Feel free to comment, corrections are welcome!
---
- User:Guy Bukzi Montag/sandbox/Dpl page vanishing test
- User:Guy Bukzi Montag/sandbox/Sort arrows CSS after UCP
- User:Guy Bukzi Montag/sandbox/Headings with logo
- User:Guy Bukzi Montag/sandbox/Navbars
- User:Guy Bukzi Montag/sandbox/DPL Days not using Dpl history
- User:Guy Bukzi Montag/sandbox/Item maintenance
- User:Guy Bukzi Montag/sandbox/Blog CC
- User:Guy Bukzi Montag/sandbox/Random container
- User:Guy Bukzi Montag/sandbox/Card
- User:Guy Bukzi Montag/sandbox/Update 37
- User:Guy Bukzi Montag/sandbox/Update 37 Patch Notes
- User:Guy Bukzi Montag/sandbox/Update 36 Patch Notes
- User:Guy Bukzi Montag/sandbox/Timers
- User:Guy Bukzi Montag/sandbox/Table design game-specific
- User:Guy Bukzi Montag/sandbox/Table sortable header border
- User:Guy Bukzi Montag/sandbox/Tabber main
- User:Guy Bukzi Montag/sandbox/Table mastery
- User:Guy Bukzi Montag/sandbox/Front page
- User:Guy Bukzi Montag/sandbox/News
- User:Guy Bukzi Montag/sandbox/Personal CSS test page
- User:Guy Bukzi Montag/sandbox/WikiProject_Statistics
- User:Guy Bukzi Montag/sandbox/Dynamic page list
- User:Guy Bukzi Montag/sandbox/V8 project
- User:Guy Bukzi Montag/sandbox/Daily Kit Box Is the Engine Card a hidden Engine Box 1?
- User:Guy Bukzi Montag/sandbox/Tabber
- User:Guy Bukzi Montag/sandbox/Gambler's fallacy
Code clipboard[]
//--------------------
// Attempts to get a CSS variable into page code
// Sanitizer doesn't allow simple
// <span style="color:var(--test)">Example text</span>
$("div").click(function() {
var color = $(this).css("background-color");
$( "#result" ).html("That div is <span style='color:" +
color + ";'>" + color + "</span>.");
});
$(".testclass").css("color", returnVar("--test"));
$(function() {
$("#bingo").html("The value of --test is: "
+ returnVar("--test") + ".");
});
function returnVar(varName) {
return window.getComputedStyle(document.documentElement).getPropertyValue(varName);
// jQuery doesn't work:
// return $(":root").css("--test") + " (jQuery)";
}
Drop Rates Explained: 5th Anniversary (V)
This is part V of a series on the maths behind drop rates.
- Part I: Practical questions
- Part II: Extracting probabilities
- Part III: More than one box
- Part IV: Box inside a box
- Part V: One last question
- Part VI: All formulas in a nutshell (tba)
- Part VII: The Asphalt 8 Box Calculator (tba)
This part continues the explanations of part IV
Bla.
If you have questions or find mistakes: Feel free to comment!
Formula collection[]
Here are all the formulas from the previous parts in a nutshell.
- Probability of a random item in a box with guaranteed items
(Part II, Boxes with guaranteed items):
- Number of possibilities (permutations) when buying boxes with random items
(Part III, Permutation):
- : number of boxes
: number of random items of a kind granted per box
- : number of boxes
- Number of combinations of a random item in a set of boxes
(Part III, Combination):
- : number of boxes
: number of items in the combination
- : number of boxes
- Number of possible combinations of a minimum number of a desired item from several boxes
(Part III, Combination):
- : number of desired items
: number of boxes
- : number of desired items
- Probability of one combination in a set of boxes
(Part III, Probability):
- : probability of getting the desired item
: number of desired items
: number of boxes
- : probability of getting the desired item
- Probability of getting a minimum number of a desired item from several boxes
(Part III, Probability):
- : probability of getting the desired item
: number of desired items
: number of boxes
- : probability of getting the desired item
Conclusions[]
Statistical test[]
Did the calculations withstand the real numbers of items found in opened boxes?
Further questions[]
Everyday example Binary numbers are just permutations of 0 and 1. |