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 diagram shows a circle inside a square. work out the area of the circle
Alona [7]

Answer:

i don't know the answer as you haven't given the diagram

Step-by-step explanation:

asumming the circle is touching the square the length of the sides of the square is the diameter of the circle using this information you use the formula area= pie*radius squared find the area.

(radius=half the diameter0

7 0
3 years ago
What is the square of one half?
Vlad1618 [11]

Answer:

One-half squared is one-fourth.

Step-by-step explanation:

When you divide fractions, you multiply the first term by the reciprocal of the second term. In this example, instead of multiplying 1/2 by 1/4, you now multiply 1/2 by 4. Therefore, one half is equal to 2 fourths.

3 0
2 years ago
Read 2 more answers
A lender wil verity and carefully consider your income before approving you for a loan because
ExtremeBDS [4]
A. They need to be sure you will be able to pay the loan back
8 0
3 years ago
Read 2 more answers
(1, 7); slope = -1 please help fast
Harrizon [31]

Answer:

y = - x + 8

Step-by-step explanation:

Step 1:

y = mx + b     Slope Intercept Form

Step 2:

y = -x + b     Input Slope

Step 3:

7 = - 1 ( 1 ) + b    Input x and y

Step 4:

7 = - 1 + b      Multiply

Step 5:

b = 8     Add 1 on both sides

Answer:

y = - x + 8

Hope This Helps :)

7 0
3 years ago
Read 2 more answers
Ben makes $39,600 a year. What is the maximum amount he can afford for a'
Olin [163]

Answer:

B:825

Step-by-step explanation:

Hopes this helps:)

3 0
3 years ago
Other questions:
  • 14) M is the midpoint of line segment ST. Point M has coordinates (3,6), and point
    14·1 answer
  • The graphs of y=x2- 3 and y = 3x -4 intersect at
    14·1 answer
  • Can I factor this polynomial?<br><br> 9pr^2+73pr+70r
    15·1 answer
  • HELLO WORLD!!!!!!!!!!!!
    12·2 answers
  • Simplify the expression 5(x − 3)(x2 + 4x + 1).
    9·2 answers
  • How many circles are drawn in the construction of a regular hexagon?
    9·1 answer
  • V/12 = 6/9 simplify and find v
    6·1 answer
  • The table shows the heights in inches of seven players on a college basketball team. Which statement is NOT true?
    9·2 answers
  • ASAP! i need help it for a grade
    6·2 answers
  • Instructions: Find the measure of the indicated angle to the nearest degree.
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!