Answer:
See explanation
Step-by-step explanation:
Given that 9 cups of macaroni requires 27 cups of water
Therefore, 1 cup of macaroni will require 27/9 = 3 cups of water
Now i can help you to work out the correct way of filling the table;
If 1 cup of macaroni requires 3 cups of water
x cups of macaroni will require 9 cups of water
x = 9 *1/3
x = 3 cups of macaroni
If 1 cup of macaroni requires 3 cups of water
x cups of macaroni will require 33cups of water
x = 33 *1/3
x = 11 cups of macaroni
If 1 cup of macaroni requires 3 cups of water
x cups of macaroni will require 21 cups of water
x = 21 *1/3
x = 7 cups of macaroni
If 1 cup of macaroni requires 3 cups of water
x cups of macaroni will require 27 cups of water
x = 27 *1/3
x = 9 cups of macaroni
Use this to tick the table.
The small tin has a better value or deal
The equation given in the question is
(5x + 2)/2 = 2x - 1
5x + 2 = 2(2x - 1)
5x + 2 = 4x - 2
5x - 4x = - 2 - 2
x = -4
So the value of the unknown variable comes out to be -4. Yes your calculation is correct it seems from the answer that you have given. I hope i have been able to help you in this regard.Only be careful about the cross multiplication part.
Answer:
0(n)
Step-by-step explanation:
Result previous exercise:
procedure count(a1a2...an : string with n > 1)
i:=0
for k:=1 to n
if ak =1 then i:=i + I
return i
<em>Note</em><em>: If you use a different algorithm, then you could possible get different results. </em>
<u>SOLUTION </u>
There is only one part of the code that contains an operation (comparison), namely if a_k =1
This comparison is executed in every iteration of the for-loop
k can take on the values from 1 to n (for k:=I to n), thus k can take on n values.
Thus in total there are then n comparisons, while n is 0(n).