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, 22.06.2019 08:50
Can online classes such as gradpoint track your ip location like if im taking a final and i give somebody else my account and they take the final for me will it show where they are taking the final from? and can this be countered with a vpn
Answers: 1
question
Computers and Technology, 24.06.2019 18:00
Hacer un algoritmo que me permita ingresar el nombre de una parcela de terreno y muestre junto al mensaje “tipo de suelos: suelos fumíferos, ¡excelente!
Answers: 1
question
Computers and Technology, 24.06.2019 22:10
Function name: poly parameters: int returns: int description: a polynomial of degree n with coefficients a0,a1,a2,a3, . . ,an is the function p(x) = a0+a1x+a2x2+a3 ∗ x3+ . . +an ∗ xn this function can be evaluated at different values of x. for example, if: p(x) = 1+2x+ x2, then p(2) = 1+2 ∗ 2+22 = 9. if p(x) = 1+x2+x4, then p(2) = 21 and p(3) = 91. write a function poly() that takes as input a list of coefficients a0, a1, a2, a3, . . , an of a polynomial p(x) and a value x. the function will return poly(x), which is the value of the polynomial when evaluated at x.
Answers: 3
question
Computers and Technology, 25.06.2019 02:00
Feedback is one of the basic elements games have in common true false
Answers: 2
You know the right answer?
The NASA Near Earth Object Program lists potential future Earth impact events that the JPLSentry Sys...
Questions
question
Mathematics, 26.10.2020 04:20
question
Mathematics, 26.10.2020 04:20
question
Spanish, 26.10.2020 04:20
question
Mathematics, 26.10.2020 04:20
Questions on the website: 13722367