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
SUMMARY

The discussion focuses on approximating the integral of sin(sqrt(x)) from 0 to 40 using the midpoint rule with n=4. The user correctly calculates delta x as 10, creating four intervals: [0,10], [10,20], [20,30], and [30,40]. The midpoints for these intervals are identified as 5, 15, 25, and 35, which are the points where the function should be evaluated. The user struggles with the correct application of the midpoint formula and sigma notation, leading to incorrect results.

PREREQUISITES
  • Understanding of integral calculus and approximation methods
  • Familiarity with the midpoint rule for numerical integration
  • Basic knowledge of sigma notation and function evaluation
  • Ability to calculate partition points and midpoints in intervals
NEXT STEPS
  • Review the midpoint rule for numerical integration in detail
  • Practice calculating midpoints for various functions and intervals
  • Learn how to apply sigma notation in the context of numerical methods
  • Explore the implications of using different numbers of intervals (n) on approximation accuracy
USEFUL FOR

Students studying calculus, particularly those learning numerical integration techniques, and educators looking for examples of applying the midpoint rule.

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 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
12
Views
4K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 44 ·
2
Replies
44
Views
6K