John wishes to compare the accuracy of the midpoint rule algorithm, applying it to double integrals.
Firstly, the midpoint rule algorithm for double integrals aims to use rectangular prisms to approximate the volume under a curve, or in other words approximately evaluate the value of a double integral.
In this case, he uses n 2 number of rectangular prisms, and n divisions along both the x and y axis. A diagram for 4 rectangular prisms is shown below to illustrate how he integrates along the bound of ∫ x = 2 x = 4 ∫ y = 3 y = 6 . The midpoints are shown as dots.
John wants to evaluate the following integral with 2500 rectangular prisms and 10000 rectangular prisms, with equal number of divisions in each axis:
∫ y = 2 y = 6 ∫ x = 3 x = 5 x 2 + y 3 d x d y
Find the percentage increase in accuracy if you use 10000 (100 divisions in each axis) rectangular prisms vs 2500 (50 divisions in each axis). to evaluate the integral (the difference of the two numerically evaluated integrals, divided by the value of the actual value of the integral(which is calculated analytically), and then multiplied by 100)
Where the percentage increase in accuracy is A , enter your answer in the box as ⌊ 1 0 0 0 A ⌋
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Nice solution; similar to mine
How do I put my code into the solution like you did?
Log in to reply
You can just put three of the following marks at the top and at the bottom, and put your code in between: ` (the mark right above the tab key)
ϕ = n → ∞ lim F n F n + 1
The convergence of the fibonacci quotient to ϕ
Using this as a latex editor
@Lil Doug Good. All is done. Btw, the above "solution" was used as a latex editor for a school project.
Log in to reply
@Krishna Karthik how to use latex editor?
Log in to reply
I just post stuff into the solutions box and then copy-paste
Log in to reply
@Krishna Karthik – @Krishna Karthik how to do that? Where is the box?
Log in to reply
@Talulah Riley – I post solutions and then I use snipping tool to make an image of the solution.
Log in to reply
@Krishna Karthik – @Krishna Karthik But where is that application.?
Log in to reply
@Talulah Riley – On mac you have to press cmd+shift+4; on windows open up "snipping tool"; it's a default app that's on every Windows PC.
@Lil Doug Are you online?
Log in to reply
@Krishna Karthik now I am online
@Lil Doug gimme a challenge. Issue me one on chess.
@Lil Doug I'm ready now.
@Krishna Karthik Bye
Problem Loading...
Note Loading...
Set Loading...
Simulation code is attached. Results are at the end of the file: