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
The ratio of boys to girls at Longwood High School is 6:7. There are 1,722 girls in the High School. Write and solve a proportio
DochEvi [55]

Answer:

1476 boys

Step-by-step explanation:

We are going to use ratio here:

6/7=x/1,722

so then we simplify

(1,722*6)/7 =

1476 boys

3 0
3 years ago
An elevator is on the 20th floor. it goes down 11 floors and then up 5 floors .what floor is the elevator on noW.
amm1812

Answer: 14th floor

Step-by-step explanation:

20 - 11 + 5 = 14

4 0
3 years ago
Read 2 more answers
If you want to graph the relationship to compare the unit prices, what should the x- axis and the y-axis represent
Yuri [45]

Answer:

it represents the following

read in my explanation

Step-by-step explanation:

A bar chart is a graph with rectangular bars. The graph usually compares different categories. Although the graphs can be plotted vertically (bars standing up) or horizontally (bars laying flat from left to right), the most usual type of bar graph is vertical.

The horizontal (x) axis represents the categories; The vertical (y) axis represents a value for those categories. In the graph below, the values are percentages.

5 0
3 years ago
PLEASE HELP ASAPPP!!!!
Mashutka [201]

Answer:

\sqrt{(\frac{9c^{16} }{d^{4} })^{3}   }=\frac{9c^{16} }{d^{4} } \sqrt{\frac{9c^{16}}{d^{4}} } \\\\=  \frac{9c^{16} }{d^{4} }.\frac{3c^{8} }{d^{2} }=\frac{27c^{24} }{d^{6} }

=> Amelia's answer is incorrect

Step-by-step explanation:

8 0
3 years ago
Given f(x) = 3x + 1, solve for x when f(x) = 7.
irakobra [83]

Answer:

f(7) = 22 or x =2

Step-by-step explanation:

  1. f(x) = 3x + 1
  2. f(7) = 3(7) + 1
  3. f(7) = 21 + 1
  4. f(7) = 22

<u>Or if the equation meant it like this:</u>

  1. f(x) = 3x + 1
  2. 7 = 3x + 1
  3. 6 = 3x
  4. 2 = x
4 0
3 years ago
Read 2 more answers
Other questions:
  • Which blood type is independent of gender? A O B AB
    9·1 answer
  • Is 16/14 equally to 64/60
    15·1 answer
  • Please help ASAP THANKS x
    9·1 answer
  • Unit rate for $5.40 for 24 cans
    15·2 answers
  • Please answer it will mark brilliantnest​
    14·1 answer
  • Convert 794mm into m​
    10·1 answer
  • Eric has $100,000 in savings account.The interest rate is 8 % per year and is not compounded.To the nearest Dollar,how much will
    6·1 answer
  • I donoqpief wribwqri ie fioqwi wirf i
    15·2 answers
  • Hi
    5·1 answer
  • Can someone help me with this
    12·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!