/False-Position-Method

False Position Method

Primary LanguagePython

False Position Method

find roots from a function

Installation

  1. Install Python 3
  2. pip install -r requirements.txt

How To Use

  1. python fp.py or ./fp.py
  2. Use x as function variable, example : 3x^2+5x+2 ==> 3x**2+5x+2 ( ** as power, * as multiply).
  3. Make sure f(xl) and f(xu) have different sign

Documentation