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
Butoxors [25]
3 years ago
15

Write a function that calculates the area of, a circle when its circumference, c, is given . This function should call a second

function that returns the radius, r, of the circle, given c. The relevant formulas are r= c/2π and a= πr2.
Computers and Technology
1 answer:
stiks02 [169]3 years ago
8 0

Answer:

Written in Python

def Areas(radius):

    pi = 22.0/7.0

    Area = pi * radius**2

    print("The area is: "+str(Area))

def Radius(circum):

    pi = 22.0/7.0

    radius = circum/(2 * pi)

    Areas(radius)

Explanation:

The first function is defined as thus: The parameter in the bracket, radius, is returned from the second function

def Areas(radius):

This line initializes pi to 22/7

    pi = 22.0/7.0

This line calculates the area of the circle

    Area = pi * radius**2

This line prints the area of the circle

    print("The area is: "+str(Area))

The second function is defined as thus: It gets the circumference from the main and returns the radius to the function defined above

def Radius(circum):

This line initializes pi to 22/7

    pi = 22.0/7.0

This line calculates the radius of the circle

    radius = circum/(2 * pi)

This line returns the radius of the first function

    Areas(radius)

To return the proper result, the Radius function must first be called using the following syntax.

Radius(any digit)

Example

Radius(60)

You might be interested in
Laura is confused with the spelling of the word pronunciation. She types the word as pronounciation throughout a document. Which
Ivan

Not really is she wants the words that she's typing down sometimes it's not necessary to leave it to the auto correct It can always be bad when re-reading it again.

5 0
3 years ago
Martha is developing a software program in C++ and has a question about how to implement a particular feature. She performs an o
VLD [36.1K]

Answer:

A blog

Explanation:

A blog is a regularly updated website or web page, typically one run by an individual or small group, that is organised by posts.

7 0
3 years ago
Which of the following statements about websites is NOT true?
Inga [223]
The correct answer choice would be letter B.

I hope that this helps !
6 0
4 years ago
Read 2 more answers
Internet is a boon or curse
tangare [24]
It really depends on what you're using it for such as looking up a recipe or an answer to a question. If you're using it for illegal purposes or looking up things that are seen as morally wrong by other people it can make the internet seem like a bad thing. But the internet wasn't created with that intended purpose so again it's just your own personal opinion.
4 0
3 years ago
Jen's house contains the following devices:
poizon [28]

Answer:

Jen's laptop and her daughter's phone, because they are both connected to the router and turned on.

Explanation:

A network comprises of two or more interconnected devices such as computers, routers, switches, smartphones, tablets, etc. These interconnected devices avail users the ability to communicate and share documents with one another over the network.

Additionally, in order for a network to exist or be established, the devices must be turned (powered) on and interconnected either wirelessly or through a cable (wired) connection.

Hence, the computers which are currently networked are Jen's laptop and her daughter's phone, because they are both connected to the router and turned on. A smartphone is considered to be a computer because it receives data as an input and processes the input data into an output (information) that is useful to the end user.

6 0
3 years ago
Other questions:
  • Which port can connect you to the Internet through a telephone line?
    6·1 answer
  • Emma has decided that she needs to assess the risk and return of buying an extended warranty for her new laptop for school
    15·1 answer
  • In a flow chart, both the decision structure and the repetition structure use the diamond symbol to represent the condition that
    9·1 answer
  • Which items may interfere with a wireless connection and may cause disruptions or delays in submitting assignments in blackboard
    9·2 answers
  • How to write greater than or equal to in excel if function
    7·1 answer
  • Write a program that reads raw data from a file that contains an inventory of items. The items should be sorted by name, and the
    12·1 answer
  • The key schedule results in generating multiple keys from the one secret key. These multiple keys are used:
    9·1 answer
  • How is communication within healthcare different than communication within other industries ?
    13·1 answer
  • Is a NAS just a collection of hard drives or a computer
    10·1 answer
  • Fill in the blank with the correct term.
    10·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!