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

THe first division of political parties came about because of what issue? A. Ratification of the Constitution B. Voter registration C. Spending of Con
Which of the following sentences uses the word "connotation" correctly? a. Her connotation was so dreary by the end of the long day. b, The connotation of the
Given the position function, SEE BELOW, between t = 0 and t = 9, where s is given in feet and t is measured in seconds, find the interval in seconds where the p
Which of these BEST describes Theodore Roosevelt's "Square Deal" policies?
Which conclusion is best supported by the passage initiation?
How is finding the unit rate helpful before graphing a proportional relationship
Moving company a charges 45$ on arrival and $25 an hour. The final bill was $470. How many hours did the movers work?
Solve 10p + 9 - 11 - p = -2(2p + 4) - 3(2p - 2)
What were the two advantages england had in fighting a war in america
Is this taha function or no?