Integral of quadratic form example