subject

The NASA Near Earth Object Program lists potential future Earth impact events that the JPLSentry System has detected based on currently available observations. Sentry is a highly automatedcollision monitoring system that continually scans the most current asteroid catalog for possibilitiesof future impact with Earth over the next 100 years. This system allows us to predict that i years from now, there will be x tons of asteroid material that has near-Earth trajectories. In the mean time, we can build a space laser that can blast asteroids. However, each laser blast will require exajoules of energy, and so there will need to be a recharge period on the order of years between each use of the laser. The longer the recharge period, the stronger the blast-after j years of charging, the laser will have enough power to obliterate d, tons of asteroid material. You must find the best way to use the laser. The input to the algorithm consists of the vectors (x1xn) and (d1dn) representing the incoming asteroid material in years 1 to n, and the power of the laser d, if it charges for i years. The output consists of the optimal schedule for firing the laser to obliterate the most material.

Required:
Construct an input on which "greedy" algorithm returns the wrong answer

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 20:00
Match the file formats with the types of multimedia they can store
Answers: 2
question
Computers and Technology, 24.06.2019 02:10
Which sentences describe the things you need to ensure while creating a sketch and a drawing? while an artistic or creative drawing is a creative expression, a technical drawing is an informative expression. you need to create accurate and neat drawings to convey accurate information. a technical drawing clearly conveys its meaning or information, and does not leave room for interpretation maintain a good speed while creating drawings
Answers: 1
question
Computers and Technology, 24.06.2019 13:30
Write a program that uses a two-dimensional array to store the highest and lowest temperatures for each month of the year. the program should output the average high, average low, and the highest and lowest temper- atures for the year. your program must consist of the following functions: a. function getdata: this function reads and stores data in the two- dimensional array. b. function averagehigh: this function calculates and returns the average high temperature for the year. c. function averagelow: this function calculates and returns the aver- age low temperature for the year. d. function indexhightemp: this function returns the index of the highest high temperature in the array. e. function indexlowtemp: this function retur
Answers: 3
question
Computers and Technology, 25.06.2019 08:50
1. define independent-set as the problem that takes a graph g and an integer k and asks whether g contains an independent set of vertices of size k. that is, g contains a set i of vertices of size k such that, for any v and w in i, there is no edge (v,w) in g. show that independent-set is np-complete.
Answers: 3
You know the right answer?
The NASA Near Earth Object Program lists potential future Earth impact events that the JPLSentry Sys...
Questions
question
Mathematics, 09.10.2021 14:00
question
English, 09.10.2021 14:00
question
Mathematics, 09.10.2021 14:00
Questions on the website: 13722367