Mustafa buys seed packets for a community garden. One packet of basil seeds costs $1.50. One packet of squash seeds costs $2.50. Let b represent the number of packets of basil seed. Let s represent the number of packets of squash seeds. Mustafa spent $38 on 18 packets of seeds. How many packets of each type of seeds did Mustafa buy?

Respuesta :

Answer:

Step-by-step explanation:

b+s=18

s=18-b

1.50 b+2.50 s=38

multiply by 4

6.00 b+10.00 s=152

divide by 2

3 b+5 s=76

3 b+5(18-b)=76

3 b+90-5 b=76

-2b=76-90

-2b=-14

divide by -2

b=7

s=18-7=11

There are total 11 packets of squash seeds and 7 packets of basil seeds.

What is system of linear equations?

A system of linear equations (or linear system) is a collection of one or more linear equations involving the same variables.

What is substitution method?

The substitution method is the algebraic method to solve simultaneous linear equations. In this method, the value of one variable from one equation is substituted in the other equation.

According to the given question.

Cost of one packet of basil seeds = $1.50

Cost of one packet of squash seeds = $2.50

Cost of 18 packets of seeds = 38

Also, b represents the number of packets of basil seeds and s represents of numbers of squash seeds.

Therefore, from the given conditions we get some system of equations

[tex]s + b = 18..(i)[/tex]

and [tex]b(1.50) + s(2.50) = 38...(ii)[/tex]

From equation (i)

[tex]s = 18-b[/tex]

Substitute the value of s in the equation (ii)

⇒[tex]1.50b+(18-b)2.50 =38[/tex]

⇒ [tex]1.50b + 45 - 2.50b = 38[/tex]

⇒[tex]-b = 38-45[/tex]

⇒ [tex]-1b =- 7[/tex]

⇒[tex]b = 7[/tex]

So, [tex]s = 18 - 7 =11[/tex]

Hence, there are total 11 packets of squash seeds and 7 packets of basil seeds.

Find out more information about system of equations and substitution method here:

https://brainly.com/question/11778994

#SPJ2

ACCESS MORE