At a fundraiser, students sold chocolate bars with almonds and chocolate bars with walnuts. The number of chocolate bars with almonds that were sold one weekend was 3 less than 2 times the number of chocolate bars with walnuts that were sold. The number of chocolate bars with walnuts plus 4 times the number of chocolate bars with almonds was 300. How many of each kind of chocolate bar were sold that weekend?

Respuesta :

Answer:

Total number chocolate bars with almonds sold were approximately 66.34 and total number chocolate bars with walnuts sold were approximately 34.67.

Step-by-step explanation:

Let number chocolate bars with almonds be x

Also let number chocolate bars with walnuts be y

Given:

Number of chocolate bars with almonds that were sold one weekend was 3 less than 2 times the number of chocolate bars with walnuts.

Framing the above sentence in equation form we get;

[tex]x=2y -3[/tex]

Also given:

The number of chocolate bars with walnuts plus 4 times the number of chocolate bars with almonds was 300.

Framing the above sentence in equation form we get;

[tex]4x+y=300[/tex]

Now Substituting the value of x in above equation we get;

[tex]4x+y=300\\4(2y-3)+y=300\\8y-12+y=300\\9y=300+12\\9y=312\\\\y=\frac{312}{9} \approx 34.67[/tex]

Now we will substitute the value of y in equation [tex]x=2y -3[/tex] we get;

[tex]x=2y-3 = 2\times34.67 -3 = 69.34-3\approx66.34[/tex]

Hence, Total number chocolate bars with almonds sold were approximately 66.34 and total number chocolate bars with walnuts sold were approximately 34.67.