Simpson's rule derivation in Maple

Discussion in 'Maple' started by Bart Vandewoestyne, Feb 7, 2007.

  1. Hello all,

    I'm trying to obtain the form of the Simpson's rule with
    equidistant points using Maple, so that I can save myself some
    time doing lengthy calculations by hand.

    I would like to get to the form

    h/3*(f0 + 4*f1 +f2)

    and the following Maple sheet is the best I could do yet:

    As you can see in the sheet, i cannot do the substitutions


    to obtain the form that i want. Things get cluttered up and
    `simplify' doesn't do what i want :-(

    What would be the best way to modify my Maple sheet to obtain the

    h/3*(f0 + 4f1 +f2)

    Bart Vandewoestyne, Feb 7, 2007
    1. Advertisements

  2. Nevermind, I was able to solve my problem.

    Bart Vandewoestyne, Feb 7, 2007
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.