What is the value of the floor function challenge?

In summary, the "Floor function challenge" is a mathematical problem where the goal is to find the largest integer that is less than or equal to a given real number. This is achieved by using the floor function or a floor division operator in a programming language. It has many practical applications in mathematics and computer science and is commonly used in algorithms and computer programs. There is also a similar challenge known as the "Ceiling function challenge" for finding the smallest integer greater than or equal to a given real number.
  • #1
anemone
Gold Member
MHB
POTW Director
3,883
115
Find \(\displaystyle \left\lfloor{S}\right\rfloor\) if \(\displaystyle S=1+\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\cdots+\frac{1}{\sqrt{80}}\).
 
Mathematics news on Phys.org
  • #2
anemone said:
Find \(\displaystyle \left\lfloor{S}\right\rfloor\) if \(\displaystyle S=1+\frac{1}{\sqrt{2}}+\frac{1}{\sqrt{3}}+\cdots+\frac{1}{\sqrt{80}}\).

we have $\frac{1}{\sqrt{k}} = \frac{2}{2\sqrt{k}} > \frac{2}{(\sqrt{k} + \sqrt{k +1} )} = 2(\sqrt{k+1} - \sqrt{k})$
hence adding above from k 1 to 80 we get $S > 2 * (\sqrt(81) -1) = 16$
also
$\frac{1}{\sqrt{k}} = \frac{2}{2\sqrt{k}} < \frac{2}{\sqrt{k} + \sqrt{k - 1 }} = 2(\sqrt{k } - \sqrt{k-1})$
adding above from 1 to 80 we get $S < 2\sqrt{80}$ and $\sqrt{80} > 8.5$ because $8.5^2= 72.25$ so $S < 17$
so integral part is 16
 
  • #3
kaliprasad said:
we have $\frac{1}{\sqrt{k}} = \frac{2}{2\sqrt{k}} > \frac{2}{(\sqrt{k} + \sqrt{k +1} )} = 2(\sqrt{k+1} - \sqrt{k})$
hence adding above from k 1 to 80 we get $S > 2 * (\sqrt(81) -1) = 16$
also
$\frac{1}{\sqrt{k}} = \frac{2}{2\sqrt{k}} < \frac{2}{\sqrt{k} + \sqrt{k - 1 }} = 2(\sqrt{k } - \sqrt{k-1})$
adding above from 1 to 80 we get $S < 2\sqrt{80}$ and $\sqrt{80} > 8.5$ because $8.5^2= 72.25$ so $S < 17$
so integral part is 16

Well done, kaliprasad!(Cool)
 

Related to What is the value of the floor function challenge?

1. What is the "Floor function challenge"?

The "Floor function challenge" is a mathematical problem where the goal is to find the largest integer that is less than or equal to a given real number. This is achieved by using the floor function, denoted by ⌊x⌋, which rounds down a number to the nearest integer.

2. How do you solve the "Floor function challenge"?

To solve the "Floor function challenge", you can use the floor function or a floor division operator in a programming language. The floor function can also be manually calculated by subtracting the decimal part of the number from the original number. For example, if the given number is 5.7, the floor function would return 5 as the largest integer less than or equal to 5.7.

3. Can you provide an example of the "Floor function challenge"?

Sure, let's say the given number is 4.3. Using the floor function, the largest integer less than or equal to 4.3 would be 4. Similarly, if the given number is 9.8, the floor function would return 9 as the largest integer less than or equal to 9.8.

4. What is the significance of the "Floor function challenge" in mathematics?

The "Floor function challenge" has many practical applications in mathematics and computer science. It is commonly used in algorithms and computer programs to round down numbers. It also plays a significant role in number theory and has connections to other mathematical concepts such as modular arithmetic.

5. Is there a similar challenge for finding the smallest integer greater than or equal to a given real number?

Yes, there is a similar challenge known as the "Ceiling function challenge". It involves finding the smallest integer greater than or equal to a given real number, using the ceiling function denoted by ⌈x⌉. The ceiling function can also be manually calculated by adding 1 to the decimal part of the number. Both the "Floor function challenge" and the "Ceiling function challenge" are commonly used in mathematics and computer science.

Similar threads

Replies
9
Views
2K
Replies
4
Views
932
Replies
1
Views
1K
Replies
3
Views
706
Replies
2
Views
1K
Replies
1
Views
790
  • General Math
Replies
2
Views
1K
Replies
1
Views
869
  • General Math
Replies
6
Views
1K
  • General Math
Replies
3
Views
1K
Back
Top