diff --git a/fall-2024/math/mat-204/00010/.~lock.mat-204-00010 - probability.odt# b/fall-2024/math/mat-204/00010/.~lock.mat-204-00010 - probability.odt# index 9987a6c..75a51cd 100644 --- a/fall-2024/math/mat-204/00010/.~lock.mat-204-00010 - probability.odt# +++ b/fall-2024/math/mat-204/00010/.~lock.mat-204-00010 - probability.odt# @@ -1 +1 @@ -,winsdominoes,fedora,24.11.2024 00:04,file:///home/winsdominoes/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4; \ No newline at end of file +,winsdominoes,fedora,24.11.2024 11:23,file:///home/winsdominoes/.var/app/org.libreoffice.LibreOffice/config/libreoffice/4; \ No newline at end of file diff --git a/fall-2024/math/mat-204/00010/MAT-204:00010 - Thanawin Pattanaphol.pdf b/fall-2024/math/mat-204/00010/MAT-204:00010 - Thanawin Pattanaphol.pdf index 6490866..6102772 100644 Binary files a/fall-2024/math/mat-204/00010/MAT-204:00010 - Thanawin Pattanaphol.pdf and b/fall-2024/math/mat-204/00010/MAT-204:00010 - Thanawin Pattanaphol.pdf differ diff --git a/fall-2024/math/mat-204/00010/mat-204-00010 - probability.odt b/fall-2024/math/mat-204/00010/mat-204-00010 - probability.odt index 726fb88..ffc7f9c 100644 Binary files a/fall-2024/math/mat-204/00010/mat-204-00010 - probability.odt and b/fall-2024/math/mat-204/00010/mat-204-00010 - probability.odt differ diff --git a/fall-2024/math/mat-204/Game.ipynb b/fall-2024/math/mat-204/MAT-204:00010 - Source Code.ipynb similarity index 99% rename from fall-2024/math/mat-204/Game.ipynb rename to fall-2024/math/mat-204/MAT-204:00010 - Source Code.ipynb index 2121b41..21cd0e8 100644 --- a/fall-2024/math/mat-204/Game.ipynb +++ b/fall-2024/math/mat-204/MAT-204:00010 - Source Code.ipynb @@ -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. " ] }, {