Brad9941
12.07.2019 •
Mathematics
Given sphereradius and pival, compute the volume of a sphere and assign to spherevolume. use (4.0 / 3.0) to perform floating-point division, instead of (4 / 3) which performs integer division. volume of sphere = (4.0 / 3.0) π r3 (hint: r3 can be computed using *)
Solved
Show answers
More tips
- F Family and Home How to Quickly and Effectively Remove Gum from Clothing?...
- A Auto and Moto How to choose the right drive for your BMW...
- L Leisure and Entertainment How to Choose the Perfect Gift for Men on February 23rd?...
- H Health and Medicine How to Treat Whooping Cough in Children?...
- H Health and Medicine Simple Ways to Lower Cholesterol in the Blood: Tips and Tricks...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
- A Art and Culture When Will Eurovision 2011 Take Place?...
- S Style and Beauty How to Choose the Perfect Hair Straightener?...
Answers on questions: Mathematics
- M Mathematics Giving 30 points &’ brainliest to whoever can help w there two questions!!...
- M Mathematics There are 88 students in 4 classes. If there are equal number of students in each class, how many students per class?...
- E English Harry realized that Scorpius and Albus were traveling in time after?...
- H Health According to HIPAA, an Information release form must include -a patients ssn -an expiration date -a doctor’s signature -a phone number...
- C Computers and Technology In a computer system, memory operations currently take up 30% of execution time. A new gadget called a cache (i.e. an L1 cache) speeds-up 80% of the memory operations...
Ответ:
The volume of a sphere is
As the hint suggests, we can avoid the use of powers, if we recall that
So, we can rewrite the volume as
Since we're given two variables storing the values of and the radius, we can write the line of code as follows:
spherevolume = (4.0 / 3.0) * pival * sphereradius * sphereradius * sphereradius ;
Ответ:
The program which computes the volume of a sphere written in python 3 goes thus :
spherevolume = (4.0/3.0)*pival*(sphereradius)**3sphereradius = r
pival = 3.142
The formula for obtaining the volume of a sphere can be expressed thus :
Volume = (4.0/3.0) × πr³Hence, using Python :
spherevolume = (4.0/3.0)*pival*(sphereradius)**3
print(spherevolume)
# displays the calculated volume of the sphere based on the value of the Radius supplied.
Learn more :link
Ответ:
to find x you will have to subtract 75 from 180 and divide the answer by two.
75 + x + x = 180
2x = 105
x = 105/2
x = 52.5°