Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am currently working on a computer science project where I have to evaluate charts. The charts are simple lines in a $x$ - $y$ coordinate-system, given by CSV files. The flatter the curve, the better for me. Now I am looking for an indicator for the "flatness" of this curves.

My first idea was to calculate the first derivative of the function and then calculate the average between two points. If this value is near $0$, then the function is pretty flat.

Is that a good idea? Is there any better solution?

share|cite|improve this question
How about curvature? – J. M. Sep 16 '11 at 16:31
> "The charts are simple lines in a x - y coordinate-system".... are those charts lines or curves? If lines, then slope is simple to compute. – user2468 Mar 8 '12 at 18:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.