Answer:
The minimum number of assignment statements needed is 5
Step-by-step explanation:
To write the algorithm, we apply the strategy of interchanging the values of variables in the assignment statements.
Assume "tmp" is the new variable, let assign tmp to w
The algorithm is:
Procedure exchange (w,x,y,z: integers)
tmp := w
w := x
x := y
y := z
z := tmp
return (w,x,y,z)
end
From the algorithm, it is obvious that there will be a minimum of 5 assignment statements needed.
First box
<em>4/10</em>
0.4 divided by 1
0.4/1 *10
= 4/10
Box on top that's the point where it's 3 away from 4/10
<em>0.7</em>
Bottom
<em>7/10</em>
<em />
0.7 divided by 1
0.7/1*10
= 7/10
Next box
<em>0.9</em>
9/10
= 0.9
Answer: Choice C) 41.13 square meters
---------------------------------------------------------------------------------------------
This figure is a composition of two quarter-circles and a square
Area of quarter circle = (1/4)*(area of circle)
Area of quarter circle = (1/4)*(pi*r^2)
Area of quarter circle = (1/4)*(pi*4^2)
Area of quarter circle = (1/4)*(pi*16)
Area of quarter circle = (1/4)*16*pi
Area of quarter circle = 4pi
There are two quarter circles, so the two circular areas add to 4pi+4pi = 8pi
Area of square = s*s = 4*4 = 16 square meters
Add the square area to the circular area: 8pi+16
Now use a calculator to find 8pi+16 = 41.1327412287183 which rounds to 41.13
Just solve the quadratic, you need to figure out what value you can use to FOIL and get c^2+5c-24=0. so you need to figure out what values you can add together to get 5 and multiply together to get -24 so try (c+8)(c-3) here 8 and 3 make sense since 8-3 = 5 and 8*-3=-24 so the answer is (c+8)(c-3).