11. Select an error function E ( y, y') measuring the difference between two outputs. 12. However, the deviation is also subject to the weighting function W before the error function is computed. 13. The Shannon-Happ formula can be used for deriving transfer functions, sensitivities, and error functions . 14. :The area under the normal curve is intimately connected to the error function , or erf for short. 15. Here, the main steps in the algorithm of the RPSM : Firstly, define the residual error function . 16. :The first example has no antiderivative, except one artifically constructed just for the purpose, the error function . 17. FEM then uses variational methods from the calculus of variations to approximate a solution by minimizing an associated error function . 18. :Since the integral of e-x?is the error function , the solution will be expressed in terms thereof. 19. This usage is similar to the Q-function, which in fact can be written in terms of the error function . 20. The factor of \ tfrac { 1 } { 2 } conveniently cancels the exponent when the error function is subsequently differentiated.