Japa33's Posts
Nairaland Forum › Japa33's Profile › Japa33's Posts
1 2 (of 2 pages)
This is great. I'm currently trying to learn flutter myself. Currently stuck in tutorial hell How did you pull off learning |
FalseProphet1:Bros abeg come and finish your stories ok especially the one about Bisi ... It's really interestingly |
FrankNetter: |
Let \(n\) represent the number of people at the party. Each person shakes hands with every other person, and the number of handshakes can be calculated using the formula \( \frac{n \cdot (n-1)}{2} \). Given that there were 120 handshakes: \[ \frac{n \cdot (n-1)}{2} = 120 \] Solving for \(n\): \[ n \cdot (n-1) = 240 \] \[ n^2 - n - 240 = 0 \] Now, factorizing: \[ (n - 16)(n + 15) = 0 \] This gives two potential solutions: \(n = 16\) or \(n = -15\). Since the number of people cannot be negative, the only valid solution is \(n = 16\). Therefore, there were 16 people at the birthday party. Or This problem can be solved using the formula for the number of handshakes in a complete graph: **n * (n - 1) / 2** where n is the number of people. We know the number of handshakes (120) and need to solve for n. Here's how we can find the answer: 1. Set up the equation: n * (n - 1) / 2 = 120 2. Multiply both sides by 2: n * (n - 1) = 240 3. Expand the left side: n^2 - n = 240 4. Factor the quadratic equation: (n - 16)(n + 15) = 0 5. Solve for n: n = 16 or n = -15 Since the number of people cannot be negative, the answer is: **n = 16** Therefore, there were **16 people** at the birthday party. |
1 2 (of 2 pages)
