• Join over 1.2 million students every month
• Accelerate your learning by 29%
• Unlimited access from just £6.99 per month
Page
1. 1
1
2. 2
2
3. 3
3
• Level: GCSE
• Subject: Maths
• Word count: 1320

# Investigate how to calculate the total number of Winning Line

Extracts from this document...

Introduction

GCSE Mathematics Coursework:

Connect 4:

Investigate how to calculate the total number of Winning Lines

In my investigation I am going to look at change in grid size and winning line length. From this I am aiming to be able to predict the number of winning lines in any size square grid with any winning line length

I am planning to do this through modelling situations and finding links in my results when in a results table so I can calculate working algebraic formulae. I will achieve this by first devising a rule to calculate the total number of horizontal winning lines, vertical winning lines and diagonal winning lines in a square grid.

In my investigation I am making the following assumptions;

• The grid is a square
• Winning line length is known
• Grid size is known
• The Winning line length is equal or less than the Grid side length, because if not the total number of winning lines is zero.
• 1 is not a valid line length because it is only one point of the grid.
• The grid below is a 4x4 grid.

.    .    .    .

.    .    .    .

.    .    .    .

.    .    .    .

I will investigate the following:

• Number of horizontal winning lines in any size square grid with any winning line length.
• Number of vertical winning lines in any size square grid with any winning line length.
• Number of diagonal winning lines in any size square grid with any winning line length.

I will use these formulae to achieve my final target of a formula to calculate:

• Total number of winning lines in any size square grid with any winning line length.

Investigation

In my algebraic formulae, I will be using the following key:

• T = Total number of winning lines
• S = Length of side of grid
• L = Length of winning line
• V = Total number of vertical winning lines
• H = Total number of horizontal winning lines
• D = Total number of diagonal winning lines
• K = Number of tokens within the grid

Middle

10

16

5x5

5

5

5

2

12

25

6x6

6

6

6

2

14

36

From this simple case I found many formulae based upon 2n +2. I found 16 possible formulae. This is because I found the number of verticals and horizontals is equal to the grid side length and the winning line length so any of these can represent n. Where the winning line length is equal to the grid side length there are always onlytwo diagonal winning lines.

## This results table shows the winning lines when the length of the winning line is equal to the length of the side of the grid minus 1.

 Grid size Winning Line Vertical Horizontal Diagonal Total No. Tokens 3x3 2 6 6 8 20 9 4x4 3 8 8 8 24 16 5x5 4 10 10 8 28 25 6x6 5 12 12 8 32 36

## The number of vertical and horizontal winnings lines is now always double the length of the side of the grid. This is because when the winning line length is 1 shorter than the grid side it creates two winning lines on each row/ column of the grid.

Conclusion

( ( S + ( ( S – L ) + 1 )2  +  ( ( S – L ) + 1 )2

Therefore to calculate the total number of winning lines the number of tokens must be subtracted.

### –K

The formula to calculate the value of the number of tokens is:

K = S2

## Conclusion

### In my investigation I have found formulae to calculate the number of horizontal, vertical and diagonal winning lines. From these I calculated the formula for the total number of winning lines. This shows that I fully completed the task set for myself. Trial and improvement and logic methods helped me find and define formulae. I believe my results are good, as I have proven them to work for any size square grid with any length winning line and I have been able to explain my formulae.

Evaluation

In evaluation my investigation was good. I had accurate results and I proved so through modelling. The worst thing about the investigation is that the formulae are complex and hard to explain in simple terms. I could improve this by using my current formula to derive other simpler and more efficient formulae. This could be a useful extension to my investigation. I could also repeat the investigation for different shapes, for example rectangles or in 3D and investigate cubes and cuboids.

This student written piece of work is one of many that can be found in our GCSE T-Total section.

## Found what you're looking for?

• Start learning 29% faster today
• 150,000+ documents available
• Just £6.99 a month

Not the one? Search for your essay title...
• Join over 1.2 million students every month
• Accelerate your learning by 29%
• Unlimited access from just £6.99 per month

# Related GCSE T-Total essays

1. ## T-Shapes Coursework

To improve the usefulness of my formula, I wondered what would happen to the Total Sum if I varied the Length of the Tail on the "T and the Width of the Wing and the Grid Width simultaneously i.e. a w x l "T" on a Width g Grid.

2. ## T-Shapes Coursework

Now we are going to find out what kind of changes (if any) take place within the formulas, if the T-Shape we are investigating, is rotated about a certain point. Again I am going to go back to my original 9x9 grid, and use this to show how a T-Shape

1. ## T totals. In this investigation I aim to find out relationships between grid sizes ...

for this T-Shape. If we use the formula, we get t = (5 x 5) - 2 t = 25 - 2 t = 23 Therefore proving that: The formula t = 5v - 2 can be used to find the T-Total (t)

2. ## Maths Coursework T-Totals

To verify this we can see what the "magic" number is on a grid width of 10, we can predict it will be 50 (5 x 10). 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23

1. ## Maths coursework

N = 26 T = (26 + 19 + 11 + 12 + 13) = 81 Therefore: 81 = (5 � 26) - 49 = 81 I will now test this formula again; this is because I have only used the algebraic approach.

2. ## I am going to investigate how changing the number of tiles at the centre ...

I will test my formula to see if it is produces the same values as in Table 2. N=1, T = 2(1)� + 4(1) + 2 = 8. N=2, T = 2(2)� + 4(2) + 2 = 18. N=3, T = 2(3)� + 4(3)

1. ## Given a 10 x 10 table, and a 3 steps stair case, I tried ...

50 31 32 33 34 35 36 37 38 39 40 21 22 23 24 25 26 27 28 29 30 11 12 13 14 15 16 17 18 19 20 1 2 3 4 5 6 7 8 9 10 x+40 x+41 x+42 x+43 x+44 x+45 x+46 x+47 x+48

2. ## Football League - mathematics investigation.

The gird below simplifies this answer- -------- A B C D E F A -------- A v B A v C A v D A v E A v F B B v A -------- B v C B v D B v E B v F C C v

• Over 160,000 pieces
of student written work
• Annotated by
experienced teachers
• Ideas and feedback to