rani distributed chocolates to her friends on her birthday. if she gives 4 chocolates to each friend, one friend will get only 3 chocolates. also, if she gives 3 chocolates, she will be left with 10 chocolates. how many friends does she have?

1 month ago 14
Nature

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:

  1. Since both equations equal y, we can set them equal to each other: 4(x-1) + 3 = 3x + 10
  2. Simplify and solve for x: 4x - 4 + 3 = 3x + 10 4x - 1 = 3x + 10 4x - 3x = 10 + 1 x = 11
  3. 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