Added more changes

This commit is contained in:
Win 2024-11-24 11:24:26 +07:00
parent 90bb661a0e
commit 5edad4bc1d
4 changed files with 13 additions and 11 deletions

View File

@ -1 +1 @@
,winsdominoes,fedora,24.11.2024 00:04,file:///home/winsdominoes/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4;
,winsdominoes,fedora,24.11.2024 11:23,file:///home/winsdominoes/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4;

View File

@ -41,7 +41,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Probability: Blue Team wins"
"#### 1. Probability: Blue Team wins"
]
},
{
@ -69,7 +69,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Probability: Blue Team wins and kills the dragon"
"#### 2. Probability: Blue Team wins and kills the dragon"
]
},
{
@ -98,7 +98,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Probability: Blue Team wins and kills the herald"
"#### 3. Probability: Blue Team wins and kills the herald"
]
},
{
@ -126,7 +126,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Count: All possible cases (Venn Diagram)"
"#### 4. Count: All possible cases (Venn Diagram)"
]
},
{
@ -172,7 +172,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Probability: Each possible events (Venn Diagram)"
"#### 5. Probability: Each possible events (Venn Diagram)"
]
},
{
@ -227,12 +227,12 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Probability: Blue Team does not manage to do any of the events (Outer White Section)"
"#### 5 (continued) Probability: Blue Team does not manage to do any of the events (Outer White Section)"
]
},
{
"cell_type": "code",
"execution_count": 287,
"execution_count": null,
"metadata": {},
"outputs": [
{
@ -256,6 +256,8 @@
"source": [
"# Calculate the total amount of the games in the venn diagram\n",
"# Find the complement of (A B C)\n",
"# Using the venn3 and plot function from above and added the\n",
"# value of (A B C) complement in the white area. \n",
"\n",
"count_all = count_a + count_b + count_c + count_ab + count_abc + count_ac + count_bc\n",
"did_not_win_all = num_games - count_all\n",
@ -274,7 +276,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Probability: Blue Team wins and kills dragon and herald"
"#### 6. Probability: Blue Team wins and kills dragon and herald"
]
},
{
@ -301,7 +303,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Probability: Blue Team does not win but kills dragon and the herald "
"#### 7. Probability: Blue Team does not win but kills dragon and the herald "
]
},
{
@ -328,7 +330,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"#### Probability: Blue Team wins but does not kill dragon and herald. "
"#### 8. Probability: Blue Team wins but does not kill dragon and herald. "
]
},
{