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]
2 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]2 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
Bill and Amy want to ride their bikes from their neighborhood to school which is 14.4 km away. It takes Amy 40 minutes to arrive
vfiekz [6]

Answer:

Amy is (21.6 - 14.4) 7.2 km/hr faster than Bill.

Distance = speed / time

Amy's speed

40 minutes = 40/60 = 2/3 hours

14.4 = speed / 2/3

Speed = 14.4 * 3/2 = 21.6 km/ hr

Bill speed

60 minutes = 1 hour

Speed = 14.4 km / hr.

4 0
3 years ago
What is equation of a circle centered at (2, 4) with a radius of 2?
Bas_tet [7]

Answer:

(x-2)²+(y-4)²=4

Step-by-step explanation:

6 0
2 years ago
Help me find m PLEASE THANK YOUUUU
julia-pushkina [17]

Answer:

the m angle ABC is 19x+12

3 0
2 years ago
Read 2 more answers
Peter has twice as many stickers as Joe. Joe has 40 more stickers than Emily. They have 300 Stickers altogether. How many sticke
GarryVolchara [31]

Answer:

170

Step-by-step explanation:

Equations derived from given info.

  • P=2J
  • J=E+40
  • P+J+E=300

Use some substitution now.

  • P=2(E+40)
  • J=E+40
  • P+J+E=300

Substitute first and second equation into third.

  • 2(E+40)+E+40+E=300
  • 2E+80+E+40+E=300
  • 4E+120=300
  • 4E=180
  • E=45

Emily has 45 stickers. But we want to know what Peter has.

Use P=2(E+40)

  • P=2(45+40)
  • P=90+80
  • P=170

Peter has 170 stickers.

4 0
3 years ago
John wants to buy a new laptop computer the computer store sells laptops for $480 or 9 credit payments of $58 how much interest
Neko [114]
First you would need to find out how many 9 payments of 58$ would be and that is 522. Then you would need to subtract the 522 and the 480 and your answer would be 42$ so the interest would be 42$
5 0
3 years ago
Other questions:
  • Find the slope of the line through (6,2) and(4 -2)
    6·1 answer
  • Solve -5(2n+7)=3n+9-2n
    12·2 answers
  • Relationships among people are
    15·1 answer
  • Does anyone know the answers to this test???OFFERING LOTS PF POINTS. Just Incase the picture isn’t loading it’s the parametric f
    12·1 answer
  • How can you change the negative emotions about math that you might be feeling to positive associations? (Answer in 175 words) th
    9·1 answer
  • Help with question 36 please I need it ASAP
    13·1 answer
  • Let A and B be subsets of a universal set U and suppose n(U)=400, n(A)=135, n(B)=80, and n(A n B)=60. Find the number of element
    12·1 answer
  • 5.<br> Which of the following triangles is similar to the triangle shown below?
    12·1 answer
  • : Đẳng thức nào sau đây đúng ?<br> A. cos4x – sin4x = 2-cos2x B. cos4x – sin4x = 1+2sin2x
    12·1 answer
  • Find the value of x.
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!