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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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