Re-use of this resource is governed by a Creative Commons Attribution-
Noncommercial-Share Alike 2.0 Licence UK: England & Wales
https://creativecommons.org/licenses/by-nc-sa/2.0/uk/
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: