Rani has 13 friends. Here's how to solve the problem: Let:
- x = the number of friends Rani has
- y = the total number of chocolates
From the problem, we can set up two equations:
- 4(x-1) + 3 = y (If she gives 4 chocolates to each friend, one friend gets only 3)
- 3x + 10 = y (If she gives 3 chocolates, she will be left with 10)
Now we can solve for x:
- Since both equations equal y, we can set them equal to each other: 4(x-1) + 3 = 3x + 10
- Simplify and solve for x: 4x - 4 + 3 = 3x + 10 4x - 1 = 3x + 10 4x - 3x = 10 + 1 x = 11
- However, the first equation accounts for one friend getting only 3 chocolates, so we have to account for the one friend x = 11 + 2 x = 13