# Bad Tomatoes

Extracts from this essay...

Introduction

Bad Tomatoes Bad Tomatoes Identical good tomatoes are placed in a box (see example). Each tomato is a sphere. Each tomato just touches all the other tomatoes next to it as shown in the diagram. Tomato five goes bad. This is counted as the first hour. One hour later, all the tomatoes it touches go bad (now tomatoes 5,1,6 and 9 are bad). This continues every hour untill all the tomatoes in the box are bad. I aim to investigate how tomatoes go bad in the above tray, and in trays of different sizes. How do tomatoes go bad in trays? In this investigation, I aim to find a formula for calculating the total time required for all tomatoes to go bad in a rectangular tray of any rectangular size, and with any bad tomato starting position. To achieve this, I will first need to explain with the use of diagrams, how I arrived at a formula for the total time required for the tray to go bad. This will be done in three stages, followed by a worked example, which will answer both part 1 of the investigation, and part 2. Part 3 is an extension of the investigation concerned with the average total time required a tray to go bad starting from one single tomato.

Middle

The longest time, therefore will be the total time required for the whole tray to go bad. The formulas for calculating the time the bad tomatoes reach the corners are: Corner T1 = (Q-1) + (P-1) Corner T2 = (M-Q) + (P-1) Corner T3 = (N-P) + (M-Q) Corner T4 = (Q-1) + (N-P) So the time needed for the whole tray to go rotten is Worked example This worked example will answer part 1 of the given investigation. The given tray size 4 by 4 can be seen in the following diagram, where the differently shaded cells are the three distinctively different starting positions. There is no point to consider other starting positions, as they will be similar to either 1,5 or 6 because of the symmetry; 1 is similar to 4, 16 and 13; 5 is similar to 9,8,12,2 and 3; 6 is similar to 7,11,10,14 and 15. They are similar because the lines of symmetry show that the square can be split into eight identical sections. Using notation from the previous section, and using formulae for the most remote corner from the starting position, we can calculate the time required for the whole tray to gto bad from starting positions 1,5 and 6, and therefore from any other position.

Conclusion

13 is the initial bad tomato: T13=4 So the average time for the tray to go bad is: Taverage = [(8+7+6+6+5+4)/6] hours=6 hours This can be seen easier on the following histogram: Applying my formula for calculating the approximate average time for the tray to go bad: Trough average = 3/4(M+N) = 3/4(5+5) = 7.5 hours Again the result is that the approximate average is close to the true average different by 20%. I predict that as the size of the tray increases, the true average time required for the tray to go bad and the approximate average time given by my formula will become closer. Conclusion for whole investigation I have develpoed a general formula for calculating the time for a tray of any size to become rotten, starting from one tomato. I applied the formula to the practical case of square size 4 by 4. The formula does not cover the case of several tomatoes going bad at the beginning in different places of the tray. I can only say that the tray will become rotten faster in this case. I have also devised a formula which calculates the approximate average time required for a tray of any size to go bad and tested it on trays 4 by 4 and 5 by 5 which show that it is accurate within 20%. 1 1

## Found what you're looking for?

- Start learning 29% faster today
- Over 150,000 essays available
- Just £6.99 a month