Re-use of this resource is governed by a Creative Commons Attribution-
NonCommercial-ShareAlike 4.0 International
https://creativecommons.org/licenses/by-nc-sa/4.0/
Exact solution given by f(x) = x(x-3.5)(x+3) +30
170
150
100
50
0
0
1
2
3
4
5
6
FEM solution
Exact solution
Error
Input the number of elements: