Answer: c(p) = 0.59*p
All we do is multiply the price per pound (0.59) by the number of pounds (p). In this case, we don't know how many pounds there are. So we leave p as is. If for instance, we had 10 pounds, then we'd replace p with 10. The variable is simply a placeholder for the unknown number.
Answer: There are 6 pieces of cloth are rectangles and 9 pieces of cloth are triangles.
Explanation:
Since we have given that
For every 5 pieces of cloth, 2 are rectangles
So, remaining piece will be of triangle so,

3 are triangles.
Ratio of rectangles to triangles is 2:3.
Now, she needs 15 pieces of cloth to complete her scarf,
So, Number of rectangles is needed is given by

Number of triangles is needed is given by

Hence, there are 6 pieces of cloth are rectangles and 9 pieces of cloth are triangles.
Answer:
min = a_1
for i:= 2 to n:
if
< min then min = 
return min
Step-by-step explanation:
We call the algorithm "minimum" and a list of natural numbers 
So lets first set the minimum to 
min = a_1
now we want to check all the other numbers.
We can use a simple for loop, to find the minimum
min = a_1
for i:= 2 to n:
if
< min then min = 
return min