Seudónimo Seudónimo
  • 24-11-2020
  • Computers and Technology
contestada

Write the line of code to calculate the area of a circle with radius 3 and store it in a variable called
area.

Respuesta :

Jayhawker6
Jayhawker6 Jayhawker6
  • 24-11-2020

Answer:

area = 2.14 * 3 ** 2

Explanation:

No clue what language you use but this should be pretty universal. To find the area of a circle you use pi(r) ^ 2 or pi times radius squared

[tex]\pi r^{2}[/tex]

In python it looks like this:

>>> area = 3.14 * 3 ** 2

>>> print(area)

28.26 <Printed text

Answer Link

Otras preguntas

Which city was the most common destination for imported slaves in British North America by the mid-seventeenth century? a. Richmond, Virginia b. Boston, Massa
Which was not an impact of the slave trade on Africa? A. Africa lost able-bodied farm workers, while the Americas gained them. B. Warfare between cultures incr
write a expression that is equivalent to 4(x+3)-2
if salt was removed from water near the poles, the water near the poles would?
A criteria of tax fairness that assumes that people with different amounts of wealth or income should pay different amounts of taxes is called property tax. abi
Evaluate the expression 17×f if f=35.
All living things are made up of two or more cells
Which colony's founders believedl the tolerance was a great virtue?
How does the cell wall protect a plant cell?
Why was the kennedy space center first created?