CHAPTER 5 - CURVE FITTING