Civil Engineering Hub menu
Civil Engineering Hub
Independent study aid. Not affiliated with or endorsed by NCEES. Always verify against the current NCEES exam specifications and reference handbook.
🎥 New: a free FE/PE worked-problems video every day — watch today’s video on YouTube

Free calculator

Numerical Methods — Root Finding & Numerical Integration

Find roots by bisection or Newton's method, and approximate definite integrals by the trapezoidal or Simpson's rules. Type f(x) with ordinary JavaScript math — use x as the variable and Math.* functions, for example x*x*x - 2*x - 5 or Math.sin(x) - x/2.

Last reviewed: 2026-10-30. Formulas follow the NCEES FE Reference Handbook conventions; always confirm against the current handbook.

Bisection: f(a)·f(b) < 0 ⇒ halve (a, b) each step

Newton: \(x_{n+1} = x_{n} - f \frac{(x_{n})}{f'} (x_{n})\)

Trapezoidal: \(\int_{a}^{b} f \approx (\frac{h}{2}) (f_{0} + 2 \Sigma f_{i} + f_{n})\) Simpson: \(\int_{a}^{b} f \approx (\frac{h}{3}) (f_{0} + 4 \Sigma f_{odd} + 2 \Sigma f_{\text{even}} + f_{n})\), n even

\(h = \frac{(b - a)}{n}\)panel width for n subintervals
f′(x)estimated here by a central finite difference, so you only enter f(x)

Root finding

Numerical integration

For study and checking only. These calculators run entirely in your browser — nothing is sent anywhere. They are meant to verify your hand calculations while you study; on the exam you will work by hand with the NCEES reference handbook.