Jenny and Natalie are selling cheesecakes for a school fundraiser. Customers can buy chocolate cakes and vanilla cakes. Jenny sold 14 chocolate cakes and 5 vanilla cakes for 119 dollars. Natalie sold 10 chocolate cakes and 10 vanilla cakes for 130 dollars. What is the cost each of one chocolate cake and one vanilla cake?

Respuesta :

The cost of 1 chocolate cake is $ 6 and cost of 1 vanilla cake is $ 7

Solution:

Let "c" be the cost of 1 chocolate cake

Let "v" be the cost of 1 vanilla cake

Jenny sold 14 chocolate cakes and 5 vanilla cakes for 119 dollars

Therefore, we can frame a equation as:

14 x cost of 1 chocolate cake + 5 x cost of 1 vanilla cake = 119

[tex]14 \times c + 5 \times v=119[/tex]

14c + 5v = 119 ------- eqn 1

Natalie sold 10 chocolate cakes and 10 vanilla cakes for 130 dollars

Therefore, we can frame a equation as:

10 x cost of 1 chocolate cake + 10 x cost of 1 vanilla cake = 130

[tex]10 \times c + 10 \times v = 130[/tex]

10c + 10v = 130 -------- eqn 2

Let us solve eqn 1 and eqn 2

Multiply eqn 1 by 2

28c + 10v = 238 ------ eqn 3

Subtract eqn 2 from eqn 3

28c + 10v = 238

10c + 10v = 130

( - ) --------------------------

18c = 108

c = 6

Substitute c = 6 in eqn 1

14(6) + 5v = 119

84 + 5v = 119

5v = 119 - 84

5v = 35

v = 7

Thus cost of 1 chocolate cake is $ 6 and cost of 1 vanilla cake is $ 7

ACCESS MORE