Explore BrainMass

Explore BrainMass

    Integral Polynomials using Simpson's/Rectangle Rule

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    In Matlab Develop a program that will:
    a. Calculate the integral of a n-order polynomial using Simpson's rule and rectangle rule, the orders will be positive integers.
    b. The user shall input the coefficients to the polynomial
    c. The user shall be able to define the order of the polynomial
    d. The user will define how many segments will be used to approximate the integral
    e. The user will define the bounds of the integral
    f. The user shall be able to define which integration technique they want to use (They should also have the option to run both integration techniques in one execution)
    g. Upon successful calculation of an integral the program should plot the original n-order polynomial and output the total integral on the plot.

    © BrainMass Inc. brainmass.com October 9, 2019, 6:09 pm ad1c9bdddf

    Solution Summary

    The integral polynomials using Simpson's Rectangle Rules are determined.