Reference no: EM13693700
Question: Galileo was an unmanned NASA spacecraft which studied the planet Jupiter and its moons, as well as several other solar system bodies. It was launched on October 18, 1989, and arrived at Jupiter on December 7, 1995, becoming the first spacecraft to orbit Jupiter. . For this programming assignment , you will determine the number of burns required for the Galileo to reach any destination, most importantly Jupiter. Each burn sequence allows the spacecraft to travel 60% of the remaining distance to the final destination.
For example, if the initial distance is 5000 meters, the spacecraft would travel (5000*0.6), or 3000 meters, on the first burn with 2000 meters left to travel. On the second burn, the spacecraft would travel (3000*0.6), or 1800 meters, with 200 meters left to travel. Write a Java application that prompts for the distance to be traveled in kilometers (you will need to convert this to meters). Then, determine the number of burns required to reach the destination within 35 meters. Output the burn number, how far the probe traveled for the burn, and the remaining distance to reach its destination. You must use a While loop in your script.
Now determine the actual number of burns required for your spacecraft to travel from Earth to Jupiter. Include the answer as a comment in your code. Note that the average distance from Earth to Jupiter is 778412028 million km.
Things:
Note 1: The Burn and distance traveled and the "meters to go" should appear on two lines as shown in the sample output. Note that this print should be done within the while loop.
Note 2: "meters to go" on the second line of the burn information should be lined up with "Traveled x meters" as shown in the Sample Output. To do this, you should use the tab escape sequence, \t
Note 3: For the distances, use a DecimalFormat object that prints only to three decimal places.
Solve these questions in details and provide examples to support your rationale.
What fraction of hydrogen bonds are broken
: Problem- Suppose a hydrogen bond in water has an energy of about 2 kcal/mol. Suppose a "made" bond is the ground state in a two state model and a "broken" bond is the excited state. At T = 300K, what fraction of hydrogen bonds are broken
|
Describe the various levels of penalties
: Describe the various levels of penalties that someone can face for breaking the following laws including the Computer Fraud and Abuse Act of 1986 and the Florida Criminal Use of Personal Identification Information.
|
Calculate delta g for the reaction
: Problem- Given the relevant standard free energies of formation, in kJ per mole, calculate delta G for the following reaction at 25 C: 2C2H2(g) + 5O2(g) --> 4CO2(g) + 2H2O(l)
|
Determine the sign of italic capital delta s
: Problem- Without doing any calculations, determine the sign of italic capital delta S subscript s y s end subscript for the following reaction
|
Determine the actual number of burns required
: determine the actual number of burns required for your spacecraft to travel from Earth to Jupiter. Include the answer as a comment in your code.
|
What is the final poh of the solution in the beaker
: After the solid is completely dissolved, the student adds 20.0 mL of a 0.995 M sodium hydroxide solution. What is the final pOH of the solution in the beaker. Assume volumes are additive.
|
What is the ksp of manganese (ii) hydroxide
: The endpoint was reached when 75.00mL of the managanese(II) hydroxide solution was titrated with 6.32mL of 0.0010M HCl solution. What is the Ksp of manganese (II) hydroxide
|
Write a balanced chemical equation for the reaction of solid
: Problem- Write a balanced chemical equation for the reaction of solid potassium with liquid water. (Use the lowest possible coefficients. Include states-of-matter under SATP conditions in your answer
|
An atom of a particular element is traveling
: Problem- An atom of a particular element is traveling at 1% of the speed of light. The de Broglie wavelength is found to be 4.15?10?3 pm. Which element is this
|