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

how did the resources of the pacific northwest. affect. the lices. of the people lived there???
what is 789091 rounded to the nearest ten thousand
Use era, period, and epoch in the same sentence.
Community Gym Charges a $50 membership fee and a $55 monthly fee. Workout Gym charges a $200 membership fee and a $45 monthly fre. How many months will the tota
Which of the following levels is the most efficient at energy conversion? a. producers b. primary consumers c. secondary consumers d. tertiary consumers
How strongly will salary factor in to your descision to find your career
What do the formulas for table salt, NaCl, and water, H2O indicate about the compounds
Which of the following religions is practiced by the largest percentage of the world’s population? a. Buddism b. Christianity c. Islam d. Judaism
what is 6 1/2 + 5 7/8= ?
Nationalism succeeded in eastern europe in the latter half of the 19th century with the establishment of what independent nation