10. A jewelry box contains 6 gemstones: moldavites, amber, and amethysts. The moldavite stones weigh 2 grams and cost 25 dollars, the amber stones weigh grams and cost 20 dollars and the amethyst stones weigh 200 grams and cost 15 dollars. In total, all the gemstones weigh 222 grams and cost 120 dollars. Determine how many of each type of gemstone is in the box.

Respuesta :

Let there are x moldavites, y amber, and z amethysts gemstones in the box. So equation for the total gemstones is,

[tex]x+y+z=6[/tex]

Equation from the weigh of the gemstones is,

[tex]2x+5y+200z=222[/tex]

The equation for the cost of gemstones is,

[tex]25x+20y+15z=120[/tex]

Simplify the equation x + y + z = 6 to obtain the value of y.

[tex]y=6-(x+z)[/tex]

Substitute the value of y in the equation to obtain equation in x and z.

[tex]\begin{gathered} 2x+5(6-x-z)+200z=222 \\ 2x+30-5x-5z+200z=222 \\ -3x+195z=192 \end{gathered}[/tex][tex]\begin{gathered} 25x+20(6-x-z)+15z=120 \\ 25x-20x-20z+15z=120-120 \\ 5x-5z=0 \\ x=z \end{gathered}[/tex]

Substitute z for x in equation -3x + 195z = 192 to obtain the value of z.

[tex]\begin{gathered} -3z+195z=192 \\ 192z=192 \\ z=1 \end{gathered}[/tex]

As, x is equal to z. So value of x is 1.

Substitute 1 for x and 1 or z in equation y = 6 - (x + y) to obtain the value of y.

[tex]\begin{gathered} y=6-(1+1) \\ =6-2 \\ =4 \end{gathered}[/tex]

So there are 1 moldavites, 4 amber, and 1 amethysts gemsones in the box.