how do you solve 140 s + 120 p = 1540 if your trying to figure out how many cups of juice there is for strawberry and pineapple if it has 120 calories & the strawberry one only has 140 ?

To solve the equation 140s + 120p = 1540, where s represents the number of cups of strawberry juice and p represents the number of cups of pineapple juice, you need to set up a system of equations based on the information about the calorie content.

Given that the total number of cups of juice is 1540, you have the equation:

s + p = 1540 ...(Equation 1)

Given that strawberry juice has 140 calories and pineapple juice has 120 calories, the equation for the total number of calories can be set up as:

140s + 120p = 120 * 1540 ...(Equation 2)

To solve this system of equations, you can use substitution or elimination method.

Let's use the substitution method:

From Equation 1, we have p = 1540 - s

Substituting p in Equation 2, we get:

140s + 120(1540 - s) = 120 * 1540

Simplifying the equation:

140s + 184800 - 120s = 184800

Consolidating like terms:

20s = 184800 - 184800

20s = 0

Dividing by 20 on both sides:

s = 0

Now, substituting the value of s in Equation 1:

0 + p = 1540

p = 1540

Therefore, there are 0 cups of strawberry juice and 1540 cups of pineapple juice.