Get in touch with us
Send us an e-mail
Question
This problem involves developing a program to numerically integrate a functionusing Simpson’s integration.
a) Develop a script & supporting functions that performs the following
a. Inputs the stop (t) and the desired error tolerance (tol).
b. Implements the function g(x),
ð‘”ð‘¥ = 3ð‘¥! + 2ð‘¥ + 1
c. Plots g(x)
d. Implements a function that integrates g(x) from 0 to t using Simpson’s algorithm.
e. Calls the MATLAB internal integration routine (integral or quad for older versions of MATLAB) function to evaluate the integral.
f. Uses tic and toc to time both the Simpson and integrate calls
g. Determines the error relative to the exact solution. Hint: See notes for using Wolfram Alpha to calculate the integral.

h. Display the run time along with the result and the error (Numerical-Exact)/Exact.
b) Run the script and record the output for t = 5 and TOL = 1e-6.
Summary
This question belongs to MATLAB software and discusses about integrate a functionusing Simpson’s integration in MATLAB.
Download Full Solution
I never expected that I could make so many grammatical errors in my college application essay. Thankfully, I took advice from HwA before submitting the same for my college admission. I got through smooth and since then take their service.
I am extremely satisfied with the Visual C++ programming assignment help that I have received from HwA. The professor was very impressed with the quality of documentation and the grades speak for themselves.
I was badly stuck while preparing my patient report assignment help and had no clue on how to incorporate all the minute details into the entire perspective. Luckily then only one of my friends suggested that HwA is the best place to get original work done and he was absolutely right. From the moment I contacted them I became certain that these people know the stuff and then they helped me deliver a brilliant patient report fetching me excellent grades in my class. It also taught me on how to write patient reports.
I am pursuing my masters in finance management from New Zealand. Even though I had an idea of most of the concepts of finance from my undergrad days, I was still looking for some guidance and help with my finance assignment. I had great results with the New Zealand finance assignment expert during my undergraduate days and let me tell you that I got the exact same quality of work for my masters assignments also
I was very impressed by the time and effort that was put into writing my instrumentation engineering assignment by the assignment expert at HwA. No matter what time of the day or how late into the night it was my assignment help expert was always available to answer my queries and help me write the resistance assignment essay. I got an A grade in the assignment and that has greatly boosted the overall grade for the semester.
Comments
this is a very good website
I have 50 questions for the same test your page is showing only 28
hi can you please help or guide me to answer my assignments. thanks
hi can anyone help or guide me to my assignments. thanks
This solution is perfect ...thanks
Hello Allison,I love the 2nd image that you did! I also, had never heard of SumoPaint, is something that I will have to exolpre a bit! I understand completely the 52 (or so) youtube videos that you probably watched. Sometimes they have what you want, sometimes they don't! However, it is always satisfying when you are able to produce something that you have taught yourself. Great job!Debra 0 likes
Perfect bank of solution.
great !
thanks for the quick response. the solution looks good. :)
thnx for the answer. it was perfect. just the way i wanted it.
works fine.