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 name of each contestant is written on a separate card, the cards are placed in a bag, and three names are picked from the bag. Identify which type of sampli
What is the passive voice of "I went to a movie"
what event triggered world war i ?
can you tell me what Is Pleonasm?
show by a simple experiment that diffusion becomes faster when temperature is raised
Our body needs iron. Certain foods are rich in iron and iron tablets are usually recommended by doctors. but neither the food nor tablets are hard like iron? Wh
what is a dangling modifier?
what is a closed-ended question?
Write the equation For a Line that intersects points(1,3) And (2,5) which one is a.y=x+2 B.y=2x+1. C.y=3x-3. D.Y=-x+3 For me is letter B.please help
Which Kelvin temperature is equal to 200.°C?