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
What is the equation
erastova [34]
Thats figure is made of 2 triangles and 1 rectangle
so we will find the area of triangles and rectangles then add them

Triangle Area=1/2*x/2*2=x/2

multiply by 2 as we have two triangles=2*x/2=x
Area of a rectangle=x*2=2x
Add them=x+2x=14(given area of trepaziod
3x=14

hope i am correct

6 0
3 years ago
Which expression represents "5 less than twice x"?
Strike441 [17]
2x-5 is the expression that represents 5 less than twice x
5 0
3 years ago
Read 2 more answers
an elevator is two floors below ground level and goes up 5 floors. write an addition equation that models the location of the el
sveticcg [70]
Below = a negative number (-)
-2
up = positive number
5
the equation would be -2+5 = ?
and the answer/ integer that represents the new location is 3
7 0
3 years ago
Does anyone get this?​
Xelga [282]

Answer:H)

Step-by-step explanation:

have a nice day

3 0
3 years ago
Read 2 more answers
Jessica makes overtime pay when she works more than 40 hours in a week. So far this week she has worked 29 hours. She will conti
Ray Of Light [21]

Answer:11 more hours

Step-by-step explanation:

7 0
3 years ago
Other questions:
  • Point
    13·2 answers
  • Polynomial standard form: (6x+1)(1−3x)
    7·2 answers
  • Bernice placed 5 green paper clips, 6 blue paper clips, and 9 yellow paper clips in a container. She will reach into the contain
    12·1 answer
  • How do I solve “csc 30° =”
    9·2 answers
  • A city has a population of 390,000 people. Suppose that each year the population grows by 6.5%. What will the population be afte
    14·1 answer
  • Find the midpoint of ( 10, -2), (4, 2)
    14·1 answer
  • Write an equation in the form y=mx+b for the line which passes through (1,-10) and (-7,-2)​
    15·1 answer
  • Given z1 and z2, what is the midpoint?<br><br> z1=5-7i and z2=-9+3i.
    9·1 answer
  • Two planes leave Berlin. One plane flies 939 km to London. The other plane flies to 882 km to Paris. The angle
    9·1 answer
  • Orhan studied the relationship between temperature and sales of refreshments at the concession stands inside the football stadiu
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!