Question: Write a program to calculate how much weight a spherical balloon filled with helium will lift. Helium will lift 1.03 grams/liter or 1.03 kg/cubic meter.

 Write a program to calculate how much weight a spherical balloon

filled with helium will lift. Helium will lift 1.03 grams/liter or 1.03

Write a program to calculate how much weight a spherical balloon filled with helium will lift. Helium will lift 1.03 grams/liter or 1.03 kg/cubic meter. The volume of a balloon can be calculated as volume = 4/3 pir^3 where r is the radius of the balloon. Knowing the volume of the balloon, you can multiple it by 1.03 and get the lifting power of the balloon. A balloon that has a radius of half a meter (a diameter of one meter), can lift approximately 0.539307 kg /* Program to calculate the lifting power of a balloon. yourname GEEN163 August 31, 2015 */ public class Balloon { public static void main (String[] unused) { Create an object of the Scanner class for keyboard input */ /*Define variables to hold the radius, volume and lift. */ /* Prompt the user and read the radius of the balloon. */ /* Calculate the volume of the balloon */ /* Calculate the lift of the balloon/Display the lifting power */ } } It is easier to measure the diameter of balloon than its radius. Modified the program to read in the diameter of the balloon. After you read in the diameter, divided it by 2 to get the radius. Convert the program to use feet and pounds. A balloon ca lift approximately 0.062425 pounds per cubic foot. A balloon with a diameter of 12.0 feet can lift approximately 56.48080936 pounds

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!