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

A client at 43 weeks' gestation has just given birth to an infant with typical postmaturity characteristics. Which signs of postmaturity does the nurse identify
A right circular cone of radius 3 cm, has a curved surface area of 47.1 cm². Find the volume of the cone. (use π= 3.14)
3.3 present tense of -er and -ir verbs
Let r and θ respectively be the modulus and amplitude of the complex number z=2−i(2tan 5π/8 ), then (r,θ) is equal to (1) (2sec 3π/8 , 3π/8 ) (2) (2sec 3π/8 , 5
If a class represents an amount of money (in US currency like $9.99). then the amount (like $9.99) could reasonably be stored in Note. Only focus on accomplishi
When Pi is on his makeshift raft, what do the sharks do?a. Circle around the raftb. Swim away in fearc. Attack the raftd. Ignore the raft
Is -x positive or negative?
who settled in the southern part of africa first?
What was the famous speech Frater Wallace G. McCauley made? What did it advocate?a. The "I Have a Dream" speech advocating for racial equality and civil rightsb
how to get individual taxpayer identification number