Processing math: 100%
Implementation of the norm of the error
E
=
|
|
e
n
|
|
ℓ
2
=
√
Δ
t
N
t
∑
n
=
0
(
e
n
)
2
Python w/array arithmetics:
e
=
exact_solution(t)
-
u E
=
sqrt(dt
*
sum
(e
**2
))