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...
-
Elana's Traveling Veterinary Services, Inc., completed its first year of operations on December 31. All of the year's entries have been recorded except for the following: a. On March 1 of the current...
-
What is the number of days to maturity, if a bill is priced at $93,450 and has a face value of $100,000 and is trading with a yield of 6.285%?
-
Otis Carpenter opened a medical practice in Alexandria, Virginia. Requirement 1. Record the preceding transactions in the journal of Otis Carpenter, M.D., RC. Include an explanation with each entry....
-
Selecting Graphics Your Task. Identify the best graphics form to illustrate the following data. a. Figures comparing the costs of cable, DSL, and satellite Internet service in ten major metropolitan...
-
A business is thinking about an investment of $28,000,000 (purchase price) in new equipment to replace older equipment with a book value of $12,000,000 and a market value of $20,000,000. If the...
-
A US motivational speaker was brought in by a South African private company as part of its annual general meeting to speak to the sales and marketing staff. Part of the presentation included...
-
A spaceship is traveling with constant velocity +0.1c relative to Earth. At t = () a missile is fired from the spaceship in + direction with speed 0.7c relative to the spaceship. (You can assume that...
-
a transaction that transfers money from one bank account to another could lead to an inconsistent database state if it fails after withdrawing the money from first account, but before putting the...
-
1. Explain the difference between required rate of return and expected rate of return. If they are different at a specific point in time, what does it mean? 2. What is the difference between an...
-
Core Leadership 5.27 Adaptive Leadership 6.0 Emotional Intelligence 5.6 Based upon the above quiz scores, answer the following: Do you believe the scores and skill groups align with your behaviors...
-
Below is a bar graph that shows the advertising expenses of three different types of media; Print, Television and Social Media, for each year from Year 1 to Year 3. Expenses (Rs. Crores) 4500 4000...
-
A stunt man drives a car at a speed of 20 m/s off a 34-m-high cliff. The road leading to the cliff is inclined upward at an angle of 20. How far from the base of the cliff does the car land? Express...
-
1. write conjugate base for HSeO3- : express your answer as an ion. 2. write conjugate base for PH4+ express your answer as a chemical formula 3. write conjugate acid for BrO- express as a chemical...
-
Consider the reaction of acetic acid in water CH 3 CO 2 H(aq) + H 2 O(l) CH3CO 22 (aq) + H 3 O + (aq) where Ka 5 1.8 3 1025. a. Which two bases are competing for the proton? b. Which is the stronger...
-
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...
-
Showbiz Sportswear completed the following selected transactions during 2008 and 2009: Requirements 1. Open general ledger accounts for Allowance for Uncollectible Accounts and Uncollectible-Account...
-
On February 28, Tradewinds Sailing Supplies had a \(\$ 75,000\) debit balance in Accounts Receivable and a \(\$ 2,200\) credit balance in Allowance for Uncollectible Accounts. During March,...
-
At September 30, the accounts of Aguilar Outsourcing Solutions include the following: During the last quarter of 2009, Aguilar completed the following selected transactions: Requirements 1. Record...
Study smarter with the SolutionInn App