Mathematics AI SL's Sample Internal Assessment

Mathematics AI SL's Sample Internal Assessment

Tower of Hanoi

7/7
7/7
11 mins read
11 mins read
Candidate Name: N/A
Candidate Number: N/A
Session: N/A
Word count: 2,036

Table of content

Exploring ‘the tower of hanoi’

The Towers of Hanoi (ToH) is a mathematical puzzle that consists of multiple pegs(usually three) and disks (usually four). For this assessment, I will be assuming that there are three pegs and four disks. In the beginning, all of the four disks should be in the left peg (peg A) with the smallest (disk A) on the top, 2nd smallest (disk B) below, 3rd smallest (disk C) below that, and finally, the biggest disk (disk D) on the bottom. After all the preparations are ready, the player has to move all the disks to the right peg (peg C) with several rules: move only one disk at a time, a larger disk may not be placed on top of a smaller disk, and all disks (except the one being moved) must be on a peg.


To find out the minimum number of moves possible (mn) when the number of disks (𝑛)
is t is three or four, I used an online simulation—https://haubergs.com/hanoi—that was available for the public. After trying a few times, I was able to figure out that the minimum number of movements possible when \(n=3,m_3\ is\ 7,and\ when\ n\ = 4,\ m_4is\ 15.\)​​​​​​​​​​​​​​


//insert image


//


Figure 1.1: Minimum number of moves when 𝑛 = 3


//


//insert image


//


Figure 1.2: Minimum number of moves when 𝑛 = 4


After proceeding with a simulation, I created a data table of the number of disks and minimum moves.

Figure 1 -

Figure 2 -

Figure 3 -

Extension

1) four pegs

Since the ToH that I was dealing with in this essay had only three pegs, I wondered if the solutions would be harder when there were four or more pegs. I personally think that the puzzle would be much easier to solve when there are four pegs since an extra peg will be available to place a disk while solving.


As I thought, the solutions were much easier when there were four pegs. The minimum number of moves when n is 1 and 2 does not change, but when n > 2, the moves decreased than the moves required when there were three pegs. For example, when 𝑛 = 3, only 5 moves were required. And when 𝑛 = 4, only 9 moves were required. Therefore, we can conclude that the number of moves required when there are four pegs is less than three pegs. These are the data table of minimum moves when there are four pegs.

Figure 4 -

Figure 5 -

2) bicolor and magnetic toh

There are two distinct types of ToH apart from the one we just explored. One of the types is the “Bicolor” ToH (BToH). BToH has multiple pegs (usually three), but it has pairs of same-sized disks. If both have three pairs, it has three pairs of same-sized disks. The goal of this puzzle is to make

Figure 6 -

Figure 7 -

3) fibonacci sequence

The Fibonacci Sequence (usually denoted Fn )is a series of numbers that follow a single𝐹𝑛rule: the next number should be the value of the sum of two numbers before it. The Fibonacci Numbers list can be 0, 1, 1, 2, 3, 5, 8, 13, 21, 34, and so on. The 2 is found by adding the two numbers before it (1+1), and the 3 is found by adding the two numbers before it (1+2).


The interesting part of Fibonacci’s Sequence is that when making squares that have lengths correlating to Fibonacci Numbers, a clean and neat spiral will form, as the figure below displays.

Figure 8 -

AI Assist

Expand

AI Avatar
Hello there,
how can I help you today?