How do I use the midpoint rule to approx integral sin(sqrt(x)) from 0 to 40

  • Thread starter Thread starter skyturnred
  • Start date Start date
  • Tags Tags
    Integral
Click For Summary

Homework Help Overview

The discussion revolves around approximating the integral of sin(sqrt(x)) from 0 to 40 using the midpoint rule with n=4. Participants are exploring the setup and calculations involved in applying this numerical method.

Discussion Character

  • Exploratory, Assumption checking, Mathematical reasoning

Approaches and Questions Raised

  • Participants are attempting to determine the midpoints of the intervals created by dividing the range from 0 to 40 into four sections. There is confusion regarding the correct midpoints and the application of the midpoint rule formula.

Discussion Status

The discussion is ongoing, with participants providing guidance on identifying midpoints and questioning the original poster's understanding of the intervals and calculations. There is a focus on clarifying the setup rather than reaching a conclusion.

Contextual Notes

Participants note that the original poster has calculated delta x as 10 and are discussing the implications of this choice on the midpoints and function evaluations. There is an emphasis on correctly interpreting the intervals and midpoints in the context of the problem.

skyturnred
Messages
117
Reaction score
0

Homework Statement



I have to approximate the integral of sin(sqrt(x)) from 0 to 40, with n=4, using the midpoint rule.

Homework Equations





The Attempt at a Solution



I found delta x to be 10, obviously, since I have to approximate from 0 to 40 using 4 large rectangles. I am having trouble finding f(.5(x(of i-1)+x(of i)))). I don't really even know where to start!
 
Physics news on Phys.org
skyturnred said:

Homework Statement



I have to approximate the integral of sin(sqrt(x)) from 0 to 40, with n=4, using the midpoint rule.

Homework Equations





The Attempt at a Solution



I found delta x to be 10, obviously, since I have to approximate from 0 to 40 using 4 large rectangles. I am having trouble finding f(.5(x(of i-1)+x(of i)))). I don't really even know where to start!

Don't get lost in the subscripts. You have four intervals. What are their midpoints? Just list their x values. They are the four points where you evaluate the function.
 
LCKurtz said:
Don't get lost in the subscripts. You have four intervals. What are their midpoints? Just list their x values. They are the four points where you evaluate the function.

Ok, so I dropped the formula and just tried to think it through myself. It makes sense in my mind that the first midpoint is f(1/2), the next is f(3/2), then f(5/2), etc. So in terms of i in sigma notation (if i=0 and the upper limit is 40), it should be f(i+(1/2))(10), right? But somehow I am still getting the wrong answer..
 
skyturnred said:
Ok, so I dropped the formula and just tried to think it through myself. It makes sense in my mind that the first midpoint is f(1/2), the next is f(3/2), then f(5/2), etc. So in terms of i in sigma notation (if i=0 and the upper limit is 40), it should be f(i+(1/2))(10), right? But somehow I am still getting the wrong answer..

If you have 4 equal intervals on [0,40] your partition points presumably are 0,10,20,30,40. Do you think 1/2 is the mid point of [0,10]? And you don't have a sum up to 40, there are only 4 intervals.
 

Similar threads

  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 10 ·
Replies
10
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
Replies
12
Views
5K
  • · Replies 44 ·
2
Replies
44
Views
6K
  • · Replies 9 ·
Replies
9
Views
3K