Last Updated: February 25, 2016
·
1.027K
· lingmnz

Tai's formula

http://www.quora.com/Scientific-Research/What-is-the-funniest-research-paper-you-have-ever-read/answer/Kaicheng-Liang?srid=Iaa&share=1

A Mathematical Model for the Determination of Total Area Under Glucose Tolerance and Other Metabolic Curves

tai() {
    int data[2][5] = {
        {0, 30, 60, 90, 120},
        {95, 147, 124, 111, 101}
    };

    int area;
    for (int i = 1; i < 5; i++) {
        int X_n = data[0][i] - data[0][i-1];
        area += (X_n * (data[1][i-1] + data[1][i]));
    }
    area *= (1.0 / 2.0);

    printf("Tai's: %d\n", area);
}

Full Text (PDF)