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
Joanna received a loan from the bank for $5,000, and she plans on paying the loan back in 3 years. She will have paid $800 in si
Katarina [22]

Answer:

5.3 is the amswer! Hope u pass

4 0
2 years ago
Slope intercept form of -2x - 11y = 5
serious [3.7K]
Y=-2/11x-5/11 is the slope intercept form
8 0
3 years ago
Which of the following units for mass is a SI unit
Sedaia [141]

kilogram is an si unit my friend

4 0
3 years ago
Read 2 more answers
4. solve<br> e) 4^x-10.2^x+16=0<br> I think the dot means multiply?
suter [353]
4^x-10\cdot2^x+16=0\Rightarrow(2^2)^x-10\cdot2^x+16=0\Rightarrow(2^x)^2-10\cdot2^x+16=0

subtitute\ 2^x=t > 0\\\\t^2-10t+16=0\\t^2-2t-8t+16=0\\t(t-2)-8(t-2)=0\\(t-2)(t-8)=0\iff t-2=0\ or\ t-8=0\\\\t=2\ or\ t=8\\\\t=2^1\ or\ t=2^3\\\\therefore\ 2^x=2^1\ or\ 2^x=2^3\\\\Answer:\boxed{x=1\ or\ x=3}
6 0
3 years ago
Read 2 more answers
What is the definition of ratio table
Wittaler [7]
A table with columns filled with pairs of numbers that have the same ratio.
4 0
2 years ago
Other questions:
  • Find the value of x. then find the angle measures of the triangle...​
    12·1 answer
  • A toy basketball hoop for toddlers has a diameter of 10 cm. A regulation basketball hoop has a diameter of 46 cm. Determine the
    14·1 answer
  • I need help ASAP!!!!!
    14·1 answer
  • 1. Solve the given equation on the domain [0,2pi]
    9·1 answer
  • Points
    8·1 answer
  • Which number is IRRATIONAL?<br> A) 1 <br> B) 125 <br> C) 18<br> 2<br> 3<br> D) <br> 9.4
    15·1 answer
  • The cone in Fig. 15.29 is exactly half full of water
    8·1 answer
  • If there are 21 ladybugs how many bumblebees?​
    5·1 answer
  • What is the measure of Zx?<br> Angles are not necessarily drawn to scale.
    9·1 answer
  • Downtime refers to the time duration that the service is unavailable, how much cumulative downtime per year will an sla percenta
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!