Determine the actual number of burns required

Assignment Help Other Subject
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.

Reference no: EM13693700

Questions Cloud

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

Reviews

Write a Review

Other Subject Questions & Answers

  Do international institutions such as wto and oecd help or

government business relations 1500 words at least 10 references essaydo international institutions such as wto and oecd

  Create comprehensive strategy for training new employees

Create comprehensive strategy for training new employees. Focusing on role of new employees in the organization.

  Major types of criminological research

Mention the major types of criminological research. Analyze at least three theories of these research tools, and explain the benefits and limitations of these types of research.

  Explain family-s traditional division of responsibilities

Traditionally, women tended to domestic chores and men earned the income. This model is less and less prevalent. Describe what is occurrring to family's traditional division of responsibilities.

  Mother insists that they go back upstairs immediately so

a young child awakes one morning and decides to pick out her own clothing. she is excited at the prospect of doing this

  Example of both domestic and international tourism

Could you give me an example of both domestic and international tourism?

  Learn to control alpha brain-wave patterns

One can learn to control alpha brain-wave patterns through the use of _____ techniques.

  How do you see this class affecting how you will plan and

write a one-page reflection that addresses the following 1.how has your own image of children with learning

  Definition of marriage proposed by the ontario appeal court

Describe the amendment to the common law definition of marriage proposed by the Ontario Appeal Court.

  Difference between distance and displacement

Explain why the difference between distance and displacement is of little concern in practical applications where velocity is calculated.

  Population growth differ between rich and poor nations

What are the characteristics of r-selected species and k-selected species? Why is it difficult to determine a carrying capacity for humans? How does population growth differ between rich and poor nations?

  The role of heredity in shaping human behavior

Cognition, or how people think and understand.  the role of heredity in shaping human behavior.  how children are stimulated by their environment.  how children develop their motor skills.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd