Container packing can be used in many scenarios, such as packing storage boxes for moving, packing shipping containers or filling ferries with vehicles.
Part of Application of MathsMeasurement skills
Save to My Bitesize
National 4 container packing looks at First-fit algorithm in particular.
For National 5 the aim is to minimise the amount of containers used.
There is no set way of doing this but one method is described below.
The following items to be packed into boxes that can hold up to \(10kg\):
The first-fit decreasing algorithm puts the items in order of heaviest to lightest.
Now continue as you would with the first-fit algorithm by putting each item into the first container that has room for it.