To prepare cake of type A, it requires 4 eggs. While to prepare cake of type B, it requires 6 eggs. If there are 30 eggs available, and at least one cake of each type needs to be prepared, maximum how many cakes can be prepared of type B?  Choose the correct choice from the following choices: A) 1 B) 2 C) 3 D) 4 E) 5
If a number of type A cakes are prepared, and b number of type B cakes are prepared. Based on total number of eggs used, 4a + 6b = 30.   =&gt; 6b = 30 - 4a   =&gt; b = 5 - (4/6)a = 5 - (2/3)a   To maximize b, we have to minimize a, and a has to be a multiple of 3. Also, since at least one cake of each type is to be prepared, a &gt;= 1.   =&gt; a = 3.   b = 5 - (2/3)3 = 3.   Answer: 3
<result>C</result>
To prepare cake of type A, it requires 4 eggs. While to prepare cake of type B, it requires 6 eggs. If there are 30 eggs available, and at least one cake of each type needs to be prepared, maximum how many cakes can be prepared of type B?