Text this: Approximated area calculation by using discrete least squares method