Final answer:
76 baseballs and 24 bats were ordered.
Step-by-step explanation:
Let's assume that 'x' represents the number of baseballs ordered and 'y' represents the number of bats ordered.
We can set up two equations to solve for 'x' and 'y':
- x + y = 100 (since the total number of items ordered is 100)
- 4.50x + 20y = 822 (since the total cost of the purchase is $822)
We can solve the system of equations using the substitution or elimination method. Let's use the elimination method by multiplying the first equation by 4.50:
- 4.50x + 4.50y = 450
- 4.50x + 20y = 822
Subtracting the first equation from the second equation eliminates 'x' and we can solve for 'y':
15.50y = 372
y = 24
Substituting the value of 'y' back into the first equation, we can solve for 'x':
x + 24 = 100
x = 100 - 24
x = 76
Therefore, 76 baseballs and 24 bats were ordered.