Working out engine capacity using an equation