# # Numerical Mathematics and Computing, Fifth Edition # Ward Cheney & David Kincaid # Brooks/Cole Publ. Co. # (c) 2003 # # file: num_integ1 # # Numerical approximation for the integral of f(x)=exp(-x*x) # on the interval [0, 1]: int(exp(-x*x), x=0..1); evalf(%);