Final answer:
By creating a system of equations and solving for the variables, we find that 9 jars will contain smaller candies to achieve a total of 1560 pieces with 15 jars.
Step-by-step explanation:
To solve this problem, we can use a system of equations to represent the total number of candies and the total number of jars. Let x be the number of jars containing smaller candies, and let y be the number of jars containing larger candies. The two equations representing the conditions are:
- Number of candies: 120x + 80y = 1560
- Number of jars: x + y = 15
First, let's solve for y in the second equation:
y = 15 - x
Next, substitute y in the first equation and solve for x:
120x + 80(15 - x) = 1560
120x + 1200 - 80x = 1560
40x + 1200 = 1560
40x = 360
x = 9
So, 9 jars will contain smaller candies.