The Numerical Approximation of Nonlinear Functionals and Functional Differential Equations