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
Which of the following is equivalent to 7a^4+3a^4
nasty-shy [4]
Give me a list for me to answer

2,401a+81a
is equivalent
3 0
3 years ago
Read 2 more answers
A class made equal teams of 5 for basketball, and equal teams of 6 for vollyball.
Ann [662]
22. each sport needs at least two teams so multiply 5x2 and 6x2 then add the numbers. 10+12=22
6 0
3 years ago
The number 5/9 is an example of a
Bond [772]

Answer:

5/9 is an example of rational number.

Step-by-step explanation:

as the definition of rational number is the number in the form of p/q but the value of denominator q should not be equal to 0. Every integer is a rational number.

8 0
3 years ago
Is every relation also a function? Explain
Sladkaya [172]

Answer:

no

Step-by-step explanation:

they are not

8 0
3 years ago
Read 2 more answers
The ratio of oil to vinegar in a salad dressing is 8:5.How much oil must blend with 7 liters of vinegar for that recipe?
sukhopar [10]
Set it up in a proportion.

8 (oil)/5 (salad dressing) = x/7
cross multiply to get 11.2
7 0
3 years ago
Read 2 more answers
Other questions:
  • If a tank holds 4500 gallons of water, which drains from the bottom of the tank in 50 minutes, then Toricelli's Law gives the vo
    8·1 answer
  • How many square feet are there in a strip of carpet 4 feet wide and 11 feet long
    12·1 answer
  • The expression -120+13m represents a submarine that began at a depth of 120 feet below sea level and ascended at a rate of 13 fe
    15·1 answer
  • 2.<br> 2m2 + 18m + 36<br> Find the gcf
    14·1 answer
  • PLEASE HELP IN ONE MINUTE WILL MARK BRAINLIST
    7·1 answer
  • The number of hits on a website doubles every month. About 10,600 people visited the website during May. The expression 10,600 ·
    6·1 answer
  • A bricklayer lays 1200 bricks in an average 8-hour day. How many bricks does he lay in a 40-hour week?
    6·1 answer
  • Evaluate each expression if r=12 s= -4 t= -6<br> rs divided by 16
    10·1 answer
  • Find the coordinates of centroid of a triangle whose vertices have coordinates (6,2);(- 3, 4); (3,- 9).
    12·1 answer
  • Write the possible range of the measurement: 220 km ± 5%.
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!