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
On a piece of paper, draw two lines so that the vertical angles formed are supplementary.
weeeeeb [17]
Supplementary angles are two angles whose sum equal to 180 degrees. Vertical lines are the opposite angles in the intersecting lines. Thus, each of your angles must be 90 degrees. Just simply draw two straight and intersecting lines. 

3 0
3 years ago
Read 2 more answers
Rex paid $250 in taxes to the school district that he lives in this year. This year's taxes were a 12% increase from last year.
Verizon [17]

Answer:

$223.21

Step-by-step explanation:

Last year the amount of taxes was x, an unknown amount. That was 100% of last year's tax cost.

This year, taxes went up by 12%, so this year the taxes are 112% of what they were last year. This year the taxes were 112% of x, and they were $250.

112% of x = 250

1.12x = 250

x = 250/1.12

x = 223.21

Answer: $223.21

8 0
3 years ago
“write the equation for the line in slope-intercept form”
lapo4ka [179]

Answer:

The equation is 4x + 3 ....

6 0
3 years ago
Can you help me get the answer for <br> 1/3+1/4<br> plz
Ivahew [28]
7/12 is the answer :)
6 0
3 years ago
Read 2 more answers
You randomly choose one of the tiles. Without replacing the first tile. What is the event of the compound event? Write your answ
Luden [163]

Answer:

87777777777777777777777777

Step-by-step explanation:

7 0
3 years ago
Other questions:
  • Help help help help
    5·2 answers
  • Rewrite the expression 8j * 9r with less symbols and characters
    14·2 answers
  • Every student is given a student ID number. If each number is 6 digits long, how many possible numbers are there?
    8·1 answer
  • 45x &lt; 270.
    9·2 answers
  • At a movie theater, the price of 2 adult tickets and 4 child tickets is $48. The price of 5 adult tickets and 2 child tickets is
    9·1 answer
  • a survey was given to people who owned a certain type of car. What percent of the people surveyed were completely satisfied with
    14·1 answer
  • 1 A camera is capable of snapping 3/4 of a picture per second. How many pictures can be snapped within a 36-second period?
    7·1 answer
  • Please help!!!
    15·2 answers
  • 2-2 this is a freebie for points guys
    12·2 answers
  • 15 POINTS! Will give brainliest to correct answer. I would love an explanation so I can do it on my own next time.
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!