View Single Post
  #1   Spotlight this post!  
Unread 07-01-2003, 14:00
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Stack Height Scoring Analysis

Question: Is there an optimum stack height?

Answer: Yes, there is.

Let n represent the total number of containers
in our scoring area. For the sake of our
calculations, this is a constant value.

Let x represent the number of containers that we
use to make our stack.

Then n-x equals the number of containers in the
scoring area not used in building the stack.

Our score, excluding "king-of-the-hill" points,
can then be calculated by multiplying our stack
height by the number of containers not used in
building our stack. Creating a mathematical
expression for this we get:

score = x(n-x)
= nx-x^2
= -x^2 + nx

So the (oft quoted) quadratic coefficents are:

a=-1
b=number of containers in our alliance's scoring area
c=number of "king-of-the-hill" points

** Calculus Alert **

Now to optimize our score we take the derivative
of the above equation...

score' = -2x + n

...and then solve for x when score' is held at zero.

-2x + n = 0
-2x = -n
x = -n/-2
x = n/2

What this expression says is that we will get the
maximum score if we use half of the available
containers in the scoring area to build our stack.

Homework question:

This falls apart if n is odd. Afterall, how do you
stack half of a container?!? So my question is simply:
Given an odd number of containers in your scoring
area, do you put that last, odd-numbered container on
the stack or not?

Hint:

Well, first you might just make a table that relates
the two possible scores for each case (n=3,5,7,etc).
Then if you're still curious, you might want to do a
mathematical proof to convince yourself that this
still holds true for a million and one containers in
the scoring area.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org