Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Homework Help/Study Tips Expert

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.

Homework Help/Study Tips, Others

  • Category:- Homework Help/Study Tips
  • Reference No.:- M91233142

Have any Question?


Related Questions in Homework Help/Study Tips

Assignmentwhile all business structures are different they

Assignment While all business structures are different, they share similar basic designs. All have their own missions and vision, provide certain services or products, have a strategic plan and some sort of governing bod ...

After reading the background materials as well as

After reading the background materials as well as additional information you find from the literature and on the Internet, respond to the following: Explain how Medicaid is financed. Discuss the role of the federal and s ...

Create a 6-8 page evaluation of biometric products and make

Create a 6-8 page evaluation of biometric products and make recommendations on how they fit within the organization detailed in the case study. Assessment Instructions Preparation Refer to the Mega-Corp Case You have bee ...

Question pick a topic relevant to the information we have

Question: Pick a topic relevant to the information we have covered to date, including this week. It can cover information in Chapters 1,2,3, and 9, or any of the articles presented in the readings area. The format of you ...

Question health care industryresearch the access to

Question: Health care industry Research the access to essential health commodities. Medical innovations are failing many patients globally. Describe the issues, barriers, and challenges for the neglected populations. Dis ...

Question communication and team decision makingpart 1

Question: Communication and Team Decision Making Part 1: Sharpening the Team Mind: Communication and Collective Intelligence A. What are some of the possible biases and points of error that may arise in team communicatio ...

Question use the following case scenario subjective data

Question: Use the following Case Scenario, Subjective Data, and Objective Data to answer the Critical Thinking Questions. Case Scenario: Mrs. J. is a 63-year-old woman who has a history of hypertension, chronic heart fai ...

Assignment 1 pedophiliadescribe the symptoms of pedophilic

Assignment 1: Pedophilia Describe the symptoms of pedophilic disorder and explain why pedophiles are so dangerous. Some states require that pedophiles remain incarcerated after their sentence ends if they have not succes ...

Question identify a major human service problem in modern

Question : Identify a major human service problem in modern times. Then select and discuss a policy that addressed the issue. From an ethical stance, what are some concerns a human service practitioner may identify with ...

Assignment reflective practitioner journal response

Assignment : Reflective Practitioner Journal Response 2-Current Educational Policies In this assignment, you will write the second reflective journal response of this course. You will write six such journal responses in ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As