A pair of Rebel Scum X-Wing Fighter pilots were shot down by our elite Tie Fighter...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
A pair of Rebel Scum X-Wing Fighter pilots were shot down by our elite Tie Fighter squadron and have landed at the position indicated on the map shown on Slide 3. Three Stormtrooper Teams are in the area and have been tasked to go and capture them. The Stormtroopers have been informed of the routes they should follow to reach the downed pilots. Stormtrooper Team 1 ST1 Location to Checkpoint C to Checkpoint D to Checkpoint F to Pilot Location R1 Stormtrooper Team 2 ST2 Location to Checkpoint B to Checkpoint E to Checkpoint G to Pilot Location R2 Stormtrooper Team 3 ST3 Location to Checkpoint A to Checkpoint D to Checkpoint F to Pilot Location R1 Each route consist of the starting point for the Stormtrooper Team (Stormtrooper Helmet icon) and a series of checkpoints (designated by letters). Stormtrooper Teams can move 1 kilometer every 20 minutes and Stormtroopers only travel directly (straight line) from point to point. The downed pilots cannot move. Lord Vader has tasked us to create a Java program that will produce a visual aid to help the Stormtroopers in determining the distance and time to reach the Rebel pilots. Our program should produce an output as shown on slide 6. Based on the map shown on Slide create a Java Program that displays the following: 2D Euclidean Distance and Time from each Stormtrooper Team (Stormtrooper helmet icon) to each Checkpoint (green square) and each downed Rebel pilot (Rebel helmet icon). 2D Euclidean Distance and Time from each Checkpoint to every other Checkpoint. 2D Euclidean Total Distance and Total Time for the route the Stormtrooper Teams will travel to capture the pilots. Distance is expressed in kilometers and time in minutes. All distance and time values must be calculated by your program (i.e., you cannot manually calculate any value and place that value in your program). The output of your program should be formatted and printed to the console exactly as shown on Slide 6. 6 5 3 2 0 0 ST1 13. ST3 1 ST2 2 A 3 B 4 Tatooine 1 Grid = 1 SQUARE KM 5 E 6 7 8 9 R2 10 R1 8 11 12 TEAM ST 1 ST 2 ST 3 CP A CP B CHECKPOINT CP C CP D CP E CP F CP G CP A 4.47 km 89 mins TEAM ST1 ST2 ST3 3.16 km 63 mins 2.83 km 57 mins. CP A 0.00 km e mins 2.24 km 45 mins. 4.47 km 89 mins 4.47 km 89 mins. 3.00 km 60 mins CP B 3.61 km 72 mins 2.24 km 45 mins 3.00 km 60 mins. 7.21 km 144 mins 5.00 km 100 mins. CP B 2.24 km 45 mins. 0.00 km 0 mins. 2.24 km 45 mins. 3.00 km 60 mins. 2.83 km. 57 mins 5.39 km. 108 mins 4.47 km 89 mins ROUTE C to D to F to R1 B to E to G to R2 A to D to F to R1 CP C 4.00 km 80 mins. 3.16 km 63 mins 4.47 km 89 mins. 2.24 km 45 mins 0.00 km e mins 2.83 km 57 mins 4.12 km 82 mins 4.00 km 80 mins. CP D 6.32 km 126 mins 5.10 km 102 mins. TOTAL DISTANCE 11.66 km 9.06 km 12.13 km 6.00 km 120 mins 2D EUCLIDEAN DISTANCE AND MOVEMENT TIME TO CP C 4.47 km CP D 4.47 km 89 mins 89 mins 5.00 km 100 mins. DIRECT 2D EUCLIDEAN DISTANCE AND TIME TO CP E 6.40 km 128 mins CP F 8.00 km 160 mins. 3.00 km 60 mins 2.83 km. 57 mins 0.00 km 0 mins. 2.24 km 45 mins. 2.83 km. 57 mins 5.00 km 100 mins. 2.24 km 45 mins. 5.39 km 108 mins TOTAL TIME 233 mins 181 mins 243 mins CP E 3.00 km 60 mins. 2.83 km 57 mins 4.12 km 82 mins. 2.24 km 45 mins. 0.00 km e mins 7.07 km 141 mins 8.25 km 165 mins. 2.00 km 40 mins 5.00 km 100 mins 5.39 km 108 mins 4.00 km 80 mins CP F 7.21 km 144 mins 2.83 km 57 mins CP G 8.06 km 161 mins. 0.00 km e mins 6.71 km 134 mins. 4.12 km 82 mins 7.28 km 146 mins. 5.00 km 100 mins. CP G 5.00 km 100 mins 4.47 km 89 mins 5.00 km. 100 mins 2.24 km 45 mins. 2.00 km 40 mins 4.12 km 82 mins 0.00 km 0 mins R1 10.00 km 200 mins 9.06 km 181 mins 10.20 km 204 mins R2 9.85 km 197 mins 8.54 km 171 mins 9.22 km 184 mins. A pair of Rebel Scum X-Wing Fighter pilots were shot down by our elite Tie Fighter squadron and have landed at the position indicated on the map shown on Slide 3. Three Stormtrooper Teams are in the area and have been tasked to go and capture them. The Stormtroopers have been informed of the routes they should follow to reach the downed pilots. Stormtrooper Team 1 ST1 Location to Checkpoint C to Checkpoint D to Checkpoint F to Pilot Location R1 Stormtrooper Team 2 ST2 Location to Checkpoint B to Checkpoint E to Checkpoint G to Pilot Location R2 Stormtrooper Team 3 ST3 Location to Checkpoint A to Checkpoint D to Checkpoint F to Pilot Location R1 Each route consist of the starting point for the Stormtrooper Team (Stormtrooper Helmet icon) and a series of checkpoints (designated by letters). Stormtrooper Teams can move 1 kilometer every 20 minutes and Stormtroopers only travel directly (straight line) from point to point. The downed pilots cannot move. Lord Vader has tasked us to create a Java program that will produce a visual aid to help the Stormtroopers in determining the distance and time to reach the Rebel pilots. Our program should produce an output as shown on slide 6. Based on the map shown on Slide create a Java Program that displays the following: 2D Euclidean Distance and Time from each Stormtrooper Team (Stormtrooper helmet icon) to each Checkpoint (green square) and each downed Rebel pilot (Rebel helmet icon). 2D Euclidean Distance and Time from each Checkpoint to every other Checkpoint. 2D Euclidean Total Distance and Total Time for the route the Stormtrooper Teams will travel to capture the pilots. Distance is expressed in kilometers and time in minutes. All distance and time values must be calculated by your program (i.e., you cannot manually calculate any value and place that value in your program). The output of your program should be formatted and printed to the console exactly as shown on Slide 6. 6 5 3 2 0 0 ST1 13. ST3 1 ST2 2 A 3 B 4 Tatooine 1 Grid = 1 SQUARE KM 5 E 6 7 8 9 R2 10 R1 8 11 12 TEAM ST 1 ST 2 ST 3 CP A CP B CHECKPOINT CP C CP D CP E CP F CP G CP A 4.47 km 89 mins TEAM ST1 ST2 ST3 3.16 km 63 mins 2.83 km 57 mins. CP A 0.00 km e mins 2.24 km 45 mins. 4.47 km 89 mins 4.47 km 89 mins. 3.00 km 60 mins CP B 3.61 km 72 mins 2.24 km 45 mins 3.00 km 60 mins. 7.21 km 144 mins 5.00 km 100 mins. CP B 2.24 km 45 mins. 0.00 km 0 mins. 2.24 km 45 mins. 3.00 km 60 mins. 2.83 km. 57 mins 5.39 km. 108 mins 4.47 km 89 mins ROUTE C to D to F to R1 B to E to G to R2 A to D to F to R1 CP C 4.00 km 80 mins. 3.16 km 63 mins 4.47 km 89 mins. 2.24 km 45 mins 0.00 km e mins 2.83 km 57 mins 4.12 km 82 mins 4.00 km 80 mins. CP D 6.32 km 126 mins 5.10 km 102 mins. TOTAL DISTANCE 11.66 km 9.06 km 12.13 km 6.00 km 120 mins 2D EUCLIDEAN DISTANCE AND MOVEMENT TIME TO CP C 4.47 km CP D 4.47 km 89 mins 89 mins 5.00 km 100 mins. DIRECT 2D EUCLIDEAN DISTANCE AND TIME TO CP E 6.40 km 128 mins CP F 8.00 km 160 mins. 3.00 km 60 mins 2.83 km. 57 mins 0.00 km 0 mins. 2.24 km 45 mins. 2.83 km. 57 mins 5.00 km 100 mins. 2.24 km 45 mins. 5.39 km 108 mins TOTAL TIME 233 mins 181 mins 243 mins CP E 3.00 km 60 mins. 2.83 km 57 mins 4.12 km 82 mins. 2.24 km 45 mins. 0.00 km e mins 7.07 km 141 mins 8.25 km 165 mins. 2.00 km 40 mins 5.00 km 100 mins 5.39 km 108 mins 4.00 km 80 mins CP F 7.21 km 144 mins 2.83 km 57 mins CP G 8.06 km 161 mins. 0.00 km e mins 6.71 km 134 mins. 4.12 km 82 mins 7.28 km 146 mins. 5.00 km 100 mins. CP G 5.00 km 100 mins 4.47 km 89 mins 5.00 km. 100 mins 2.24 km 45 mins. 2.00 km 40 mins 4.12 km 82 mins 0.00 km 0 mins R1 10.00 km 200 mins 9.06 km 181 mins 10.20 km 204 mins R2 9.85 km 197 mins 8.54 km 171 mins 9.22 km 184 mins.
Expert Answer:
Related Book For
Excellence in Business Communication
ISBN: 978-0136103769
9th edition
Authors: John V. Thill, Courtland L. Bovee
Posted Date:
Students also viewed these programming questions
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
Managing Scope Changes Case Study Scope changes on a project can occur regardless of how well the project is planned or executed. Scope changes can be the result of something that was omitted during...
-
A disadvantage of many profitsharing remuneration plans is that: Group of answer choices They align shareholders' and managers' objectives. They do not incentivize management to change their...
-
What are the temperatures for freezing water on the Celsius and Fahrenheit scales? For boiling water?
-
Evaluate the given determinants. -2.24.1 7.0 1.2 6.4 -3.5 -7.2 2.4 -1.0
-
By using six factor formula for \(k\), derive the Eqs. (7.93), (7.94) of Section 7.7.1. dkoo dp= k MB dM dB 8 + (7.93) 1+M B M B2
-
Austen Ren owns a small retail ice cream parlor. He is considering expanding the business and has identified two attractive alternatives. One involves purchasing a machine that would enable Mr. Ren...
-
1. Solve the following using convolution and correlation a. Let I={0, 0, 1, 0, 0} & Let k (mask) = {3, 2, 8} 3 3 b. Let I = & Let k (mask) = 3 3 1 24 3 4
-
1. What is the most you would be willing to pay for a investment that will pay you $59.00 in one year, $306.00 in two years, and $475.00 in three years, if your required rate of return for this type...
-
Anglo American plc is a multinational mining company based in Johannesburg, South Africa and London, United Kingdom. It is the world's largest producer of platinum, with around 40% of world output,...
-
What are Neil Smelser's six conditions for social change movement? Explain
-
XYZ Corp, a US firm, is holding a music festival in Mexico. The festival will cost MXN 91M to be set up today, half of which will be paid by their Mexican subsidiary, and half of which will be paid...
-
A company is considering buying new piece of machinery. A 10% interest rate will be used in the computations. Two models of machines are available. a) Determine which machine should be purchased...
-
Find the price of the following semi-annual bonds. Also state the type of each bond (premium, discount or par value bond) Par/Face Value Maturity (years) Settlement date Maturity date # of pmt per...
-
A power plant emits 120 lb of fly ash per hour up the stack. The flow rate of the hot gases in the stack is 25 ft3/sec. What is the concentration of the fly ash in micrograms per cubic meter?
-
Calculate the Lagrange polynomial P 2 (x) for the values (1.00) = 1.0000, (1.02) = 0.9888, (1.04) = 0.9784 of the gamma function [(24) in App. A3.1] and from it approximations of (1.01) and (1.03).
-
Visit the PolyVision website, at www.websterboards.com, and read about electronic whiteboards. What advantages do you see in using this kind of whiteboard during a meeting? Draft a short e-mail...
-
To convene a formal meeting with the investor group, you need to first draft a report that outlines the types of franchise opportunities you'd like to pursue. Write a brief report, identifying five...
-
You and your staff in the public relations (PR) department at Epson of America were delighted when the communication campaign you created for the new PictureMate Personal Photo Lab...
-
Example In January 2004, a Mars Exploration Rover touched down on the surface of Mars and rolled out for exploration ( Figure
-
A battery-operated wall clock no longer keeps timeneither hand moves. Develop a hypothesis explaining why it fails to work, and then make a prediction that permits you to test your hypothesis....
-
Does the snowflake have rotational symmetry in Figure 1.6? If yes, describe the ways in which the flake can be rotated without changing its appearance. Does it have reflection symmetry? If yes,...
Study smarter with the SolutionInn App