1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
murzikaleks [220]
3 years ago
12

Write a function called circle that takes a scalar input r. it needs to return an output called area that is the area of a circl

e with radius r and a second output, cf that is the circumference of the same circle. you are allowed to use the built-in function pi. in fact, you need to use it to get the value of π as accurately as possible.
Mathematics
1 answer:
Aliun [14]3 years ago
8 0
Ok so I'll demonstrate in programming language python.

import math
def circle():
r = float(input("Enter r: "))
a = math.pi * r ** 2
print("Area of circle with r = {0} is {1
}cm2".format(str(r), str(a))

circle()
You might be interested in
Find the area and the circumference of the circle. Round your answers to the nearest hundredth.​
konstantin123 [22]

The Area Of The Circle Is 452.16

The Circumference Of The Circle Is 75.36

6 0
3 years ago
HELP PLEASEEEEEEE!!!!!!!!!!
Julli [10]

Answer:

help with what?

Step-by-step explanation:

6 0
3 years ago
Three times the difference between t and y
7nadin3 [17]
3(t-y) = 3t - 3y <===
7 0
3 years ago
A landowner wanted to determine the change in the water levels of his pond over time. First, he filled the pond to a water level
Dimas [21]
The answer is c because if you subtract 5-3.4 and get 1.6 then you divide that by two you get .8, and if you subtract point 8 twice for two weeks you get 3.4
5 0
4 years ago
A sequence defined recursively by the formula f(n+1) = -2f(n) . the first term of the sequence is -1.5 what is the next term in
alexgriva [62]

Answer:

Step-by-step explanation:

4 0
3 years ago
Other questions:
  • The sum of y and 2 is greater than 5
    9·1 answer
  • Negative sixteen plus the quiotient of a number and -4 and -3
    14·1 answer
  • What is the orientation of the plane curve?<br> x = t² - 4t<br> y = t - 2
    12·1 answer
  • What is tan(θ/2), when tan(θ) = 4/3 and when π &lt; θ &lt; 3π/2?
    11·1 answer
  • £48 in the ratio of 3:1
    12·1 answer
  • Suppose that it snows in Greenland an average of once every 27 days, and when it does, glaciers have a 23% chance of growing. Wh
    10·1 answer
  • A merchant buys a number of oranges at 3 for 10 cents and an equal number at 5 for 20 cents. To "break even" he must sell N oran
    13·1 answer
  • During the school year, Gianna usually keeps a regular sleeping schedule. She goes to bed at 9:15 p.m. and wakes up at 6:30 a.m.
    15·1 answer
  • A linear equation through the origin with a slope of negative three
    9·2 answers
  • What is the simplified form of the expression square root of -64
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!