; example with an equation k1=-4.2 f=x^2+0.2*x+k1 ; evaluate at x=3 func 3 ; integrate between x=0 to x=3, using 50 steps integrate 0 3 50 ; now more accurately with 5000 steps integrate 0 3 5000 ; Where does the equation = 0 ; try between -3 and 0 fzero -3 0 0.001 ; check by solving this quadratic equation quadratic 1 0.2 -4.2