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
Given that f(x) = 2x + 1 and g(x) = −5x + 2, solve for f(g(x)) when x = 3.
Anon25 [30]
The first step in solving for f(g(x)) when x=3, is solve for g(x). The answer of g(x) when x is equal to 3 is -(5) multiplied by 3 add by 2. Therefore, g(x) is -13. Then substitute the value of g(x) to f(x). The answer of f(-13) is 2 multiplied by -13, then add 1. So, the final answer is, f(x)=-25.
3 0
3 years ago
Read 2 more answers
What is the sum of the series? Write in expanded form making sure to show all steps used to find the sum.
san4es73 [151]

Answer:

-16

Step-by-step explanation:

k = 3

-2(3) + 5 = -1

k = 4

-2(4) + 5 = -3

k = 5

-2(5) + 5 = -5

k = 6

-2(6) + 5 = -7

(-1) + (-3) + (-5) + (-7)

= -16

6 0
3 years ago
Read 2 more answers
Ashley walks 1/3 of a mile each day. After 10 days, how many miles has she walked?
Serga [27]

Answer:

3 1/3

Step-by-step explanation:

6 0
3 years ago
Read 2 more answers
20% of what number is 6.5?
scoundrel [369]

Answer:

1.3

Step-by-step explanation:

20/100 x 6 5/10 =

1 3/10

Hopes this helps

3 0
3 years ago
Please help me, I don't know how to do this...
Lunna [17]

Answer:

  A.  5

Step-by-step explanation:

The triangle will be a right triangle when the side lengths satisfy the Pythagorean theorem: the sum of the squares of the legs is equal to the square of the hypotenuse.

  (x +1)^2 +x^2 = (√61)^2

  x^2 +2x +1 +x^2 = 61 . . . eliminate parentheses

  2x^2 +2x = 60 . . . . . . .subtract 1, collect terms

  x^2 +x -30 = 0 . . . . . divide by 2, subtract 30

  (x +6)(x -5) = 0 . . . . factor the quadratic

  x = -6 or +5

The solution is x = 5.

_____

Side lengths cannot be negative. Solution values are values of x that make the factors zero. x+6=0 when x=-6, for example.

8 0
2 years ago
Other questions:
  • A bottlenose dolphin can swim 2.68 meters per second. find the dolphins speed in miles per hour
    15·1 answer
  • Use the diagram to complete the statement.
    5·1 answer
  • Which of the following is not a Pythagorean triple? A. 28,45,53 B. 16,63,65 C. 13,84,85 D. 11,61,62
    9·2 answers
  • If a number is odd, then it has a remainder of 1 when divided by 2.
    6·1 answer
  • Taleen has 8 stamps in her collection, and she decides that each month she will add 3 stamps to her collection.
    14·2 answers
  • Will is going to paint the hallway by the gym. He will paint a stripe that is 8 1/2 feet long and 1 2/3 feet wide what is the ar
    7·2 answers
  • The triangular prism below has a base area of 9 cm and a height of 23 cm. What is the volume of the prism?A. 207 cm B. 103.5 cm
    14·1 answer
  • What is the completely factored form of the following expression? 5xy-10y
    7·1 answer
  • What is 8/35 pls help me
    8·1 answer
  • A printer takes 7 minutes to print a document with 63 pages. How many pages
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!