Answer:
90.
Step-by-step explanation:
We have two lines of code:
y ← x + x + x + x + x
z ← y + y + y
and, x=6 before the execution. Then, when the program starts to run we obtain:
y ← 6 + 6 + 6 + 6 + 6
y ← 30
z ← 30+30+30
z ← 90.
Then, the value of z after excecution is 90.
The total surface area of the remaining solid is 48(4+✓3) centimeters square.
<h3>How to calculate the surface area?</h3>
Through a regular hexagonal prism whose base edge is 8 cm and the height is 12 cm, a hole in the shape of a right prism.
The formula for the total surface area will be:
= Total surface area=2(area of the base)+ parameter of base × height
where,
Height= 8cm
Parameter of base=12(2) = 24
Area of the base= 6×✓3/4×4² = 64✓3/4
The surface area of the remaining solid will be:
= 2(64✓3/4) + 24 × 8
= 2(64✓3/4 + 192
With the hole is a rhombus prism with the following parameters:
diagonal 1 = 6, diagonal 2 = 8, height = 12
The volume is:
V1 =0.5 × d1 × d2 × h
V1 = 0.5 × 6 × 8 × 12
V1 = 96
The dimensions of the hexagonal prism are:
Base edge (a) = 8
Height (h) = 12
The volume is
V2 = (3✓(3)/2)a²h
V2 = (3✓3)/2) × 8² × 12
V2 = 1152✓3
The remaining volume is
V = V2 -V1
V = 1152✓3 - 96
Learn more about the hexagonal prism on:
brainly.com/question/27127032
#SPJ4
The square root of pi is 1.77245385091.
Answer:
r³ + 15r² - 10r - 4
Step-by-step explanation:
First, note you can remove the brackets, in this case they contribute nothing at all.
Then, group the like terms and add them, e.g., we have 3r³ and -2r², they add up to r³.
Finally, order them from greatest power of r to smallest power of r.
That's all!