I need help with this program Must be written in Python Now

I need help with this program!!!!!!!
Must be written in Python!!!

Now, let\'s design a program that takes the weight (in pounds) and radius (in feet) of a sphere as input and outputs the buoyant force. Use gamma = 62.4 lb/ft^3 as the specific weight of water, and the volume of the sphere is (4/3)pi r^3. The buoyant force can be computed by F_b = V times gamma where F_b is the buoyant force, V is the volume of the submerged object, and y is the specific weight of the fluid. If F_b is greater than or equal to the weight of the object, then your program will output, \"This sphere will float\", otherwise it will output, \"This sphere will sink.\"

Solution

from math import pi;
weight = float(input(\"Enter Weight in pounds\"));
r = float(input(\"Enter Radius in feets\")); ## taking input from user
volume = (4/3)*pi * r**3 ## calculating volume
spcweight=62.4/r**3## calculating specifi weight
Fb = volume*spcweight ## calculating Fb
if Fb>=weight: ## comparing Fb and weight
print(\"This sphere will float\");
else:
print(\"This sphere will sink\");

I need help with this program!!!!!!! Must be written in Python!!! Now, let\'s design a program that takes the weight (in pounds) and radius (in feet) of a spher

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site