p = 1 + 2 1 + 3 1 + . . . . . . . . 2 0 1 4 1 F i n d i n t e g r a l v a l u e o f p ( f l o o r f u n c t i o n )
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.
Hi there! The solution is really nice!
I'm having trouble understanding how you arrived at the approximation for the summation. How did you choose 0.5 and 2014.5 as the limits of the integral?
Thanks
Log in to reply
It is difficult to show this without graphics. Anyway, I will try.
The technique to solve the problem is by comparing the areas of discrete p with that of continuous curve f ( x ) . The value of p is given by vertical bars of height n 1 and width of 1 . There are various ways to superimpose these vertical bars of p on the f ( x ) . Two ways are used setting the lower and upper limits of p to estimate p .
I set the lower limit (LHS of the inequality) starting the first bar 0 . 5 ≤ x < 1 . 5 and hence the 2 0 1 4 t h bar is 2 0 1 3 . 5 ≤ x < 2 0 1 4 . 5 . We note that starting from the first bar 0 . 5 ≤ x < 1 . 5 the area covered by the first bar above the curve is larger than that covered by the curve above the second bar 1 . 5 ≤ x < 2 . 5 and this continues until the end, because f ( x ) is a consistent decreasing function. Therefore, overall the curve covers less are than the bars.
For the upper limit, I shifted 0 . 5 to the left. That is why I needed to add 2 1 × 1 1 in the inequality to account for all the 2 0 1 4 bars. In this arrangement, the area covered by the curve above the second bar is larger than that covered by the third bar above the curve and so on. Also the first half bar is larger than the area covered by the first bar above the curve. Therefore overall the area covered by the curve plus the first half bar is larger than the bars.
You can choose other limits which involve whole numbers but I found that the two limits do not fall within 8 8 ≤ p < 8 9 , therefore not providing the solution.
Here is my J A V A code for the problem:-
1 2 3 4 5 6 7 |
|
Problem Loading...
Note Loading...
Set Loading...
p = n = 1 ∑ 2 0 1 4 n 1 ≈ ∫ 0 . 5 2 0 1 4 . 5 x 1 d x
Considering the area under the consistently decreasing function f ( x ) = x 1 , we have:
∫ 0 . 5 2 0 1 4 . 5 x 1 d x < p < ∫ 1 2 0 1 4 . 5 x 1 d x + 2 1 × 1 1
[ 2 x ] 0 . 5 2 0 1 4 . 5 < p < [ 2 x ] 1 2 0 1 4 . 5 + 0 . 5
2 ( ( 2 0 1 4 . 5 ) − 0 . 5 ) < p < 2 ( ( 2 0 1 4 . 5 ) − 1 ) + 0 . 5
2 ( 4 4 . 8 8 3 1 8 1 7 1 − 0 . 7 0 7 1 0 6 7 8 1 ) < p < 2 ( 4 4 . 8 8 3 1 8 1 7 1 − 1 ) + 0 . 5
8 8 . 3 5 2 1 4 9 8 5 < p < 8 8 . 7 6 6 3 6 3 4 1 ⇒ ⌊ p ⌋ = 8 8
Mehul, sorry for late in replying. I have redone the solution.