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
When I was assigned the case study analysis of integumentary system patient I had no clue as to where to reach out for help. Luckily I bumped into HwA and was astonished to find that they have specific integumentary system related section.
I really needed help writing my power engineering assignment for my MS in Electrical Engineering program but I did not want to pay a fortune for it either. At HwA I have found the perfect solution for my power engineering assignment questions at a price that is reasonable. There is no compromise in the quality of the assignments even if they have low prices as compared to the other online assignment help providers that I have seen.
The day when my professor asked us to start preparing a Research Proposal I approached HwA for help. I was already taking their help for my other assignments as well, but never thought that they had a strong research proposal writing and dissertation writing support. Really impressed with the kind of feedback I got in my Research Proposal.
When after completing my High School I decided to pursue graduation degree in Physics, I never knew things would be this hard. In fact fourth semester onwards I was feeling the pinch. I am glad that I came across TheReliableTutor and had an opportunity to interact with their online Physics electricity Experts. They did not only help me with my Physics electricity Assignments but also at the same time helped me to gain confidence. Today, while I am pursuing my Master’s degree, I still take help with my assignments.
While I took occasional help for my different assignments from TheReliableTutors, I kept on wondering whether they could actually help with my dissertation paper. When I first approached them, they sounded confident and they already knew what is needed to be done. That was very relieving as even before my professor told me what to be done next, the thesis help tutor knew what to do. I have got an “A†in my master’s dissertation report and now I have assigned them by PhD thesis paper also.
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.