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
Trava [24]
3 years ago
12

Write a program that reads in the radius of a sphere and computes the surface area and volume of the sphere using the following

formulas: A = 4*3.14r 2 V = 4/3 x 3.14r 3
Enter the radius of the sphere: 2.5 [Enter]

The surface area of the sphere is 78.53982

The volume of the sphere is 65.44985
Computers and Technology
1 answer:
Oksana_A [137]3 years ago
6 0

Answer:

// program in Python.

#library

import math

#read the radius of sphere

rad=float(input("Enter the radius of sphere:"))

# find the Surface area

A=4*math.pi*rad**2

V=(4/3)*math.pi*rad**3

#print the Surface area

print("The surface area of the sphere is:",A)

#print the Volume of sphere

print("The volume of the sphere is:",V)

Explanation:

Import math library to use the value of "pi".Read the radius of sphere from user  and assign it to variable "rad".Then calculate the surface area A = 4*3.14r**2  and volume of sphere V=V = 4/3 x 3.14r**3.Print the surface area and volume of  the sphere.

Output:

Enter the radius of sphere:2.5                                                                                            

Surface area is: 78.539812                                                                                  

Volume of sphere is: 65.44985

You might be interested in
Who benefits from digital technology?
Svetradugi [14.3K]

Answer:

Well, the answer is simple. Everybody!

Explanation:

6 0
3 years ago
You have decided to remove a recently installed feature which method can you use to remove this feature
Aliun [14]
If it is on the desktop screen you just right click on the icon and select delete. from there if you're on a windows computer it goes to your recycle bin then you right click the recycle bin and a little rectangle pops up an in that rectangle it says clear recycle bin and once you press that all of the stuff that was in there is deleted. now if your on a computer that has chrome os installed you just go to the files screen and right click what you want to delete and click delete and it's gone. 
6 0
3 years ago
Ses
jekas [21]

Answer:

Amoung us

Explanation:

When the imposter is sus

8 0
3 years ago
To view paragraph marks, click on the ______ tab, in the paragraph group, click show/hide
sergejj [24]

Answer:

Home

Explanation:

Thank Quizlet, lol!

3 0
3 years ago
Bukod sa nakasulat na impormasyon ay makakakita rin ng larawan sa internet.​
faltersainse [42]

i woud love to help but i dont understand the language

7 0
2 years ago
Other questions:
  • What file would you edit to restrict the number of simultaneous logins a user can employ??
    14·1 answer
  • The manager of a sports club has data about the club members' ages in a workbook. He wants to find which age is most common. Whi
    13·2 answers
  • A user reports his or her computer is slow to boot. You check the boot order and determine that the computer is checking the C d
    12·1 answer
  • Which of the following is a hardware component used to hold the BitLocker encryption key and ensures encrypted data is not acces
    5·1 answer
  • If I wanted to include a picture of a dog in my document, I could use _____. SmartArt WordArt clip art AutoCorrect
    13·1 answer
  • Which of the following is a correct group scope type in AD, windows server 2016?
    6·1 answer
  • Explain logic circuit​
    8·1 answer
  • Write a static method called split that takes an ArrayList of integer values as a parameter and that replaces each value in the
    12·1 answer
  • Sharon's company has written a new computer program, and she has been asked to find a way to prevent people from copying the sof
    10·1 answer
  • By definition, what is the process of reducing security exposure and tightening security controls?
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!