subject
Computers and Technology, 06.03.2020 22:39 ajime

You have three batteries, with 4200, 2700, and 1600 mAh (milli-Amp-hours), respec-tively. The 2700 and 1600-mAh batteries are fully charged (containing 2700 mAh and1600 mAh, respectively), while the 4200-mAh battery is empty, with 0 mAh. You havea battery transfer device which has a "source" battery position and a "target" batteryposition. When you place two batteries in the device, it instantaneously transfers asmany mAh from the source battery to the target battery as possible. Thus, this devicestops the transfer either when the source battery has no mAh remaining or when thedestination battery is fully charged (whichever comes first).But battery transfers aren’t free! The battery device is also hooked up to your phoneby bluetooth, and automatically charges you a number of cents equal to however manymAh it just transfered. The goal in this problem is to determine whether there exists a sequence of transfersthat leaves exactly 1200 mAh either in the 2700-mAh battery or the 1600-mAh battery, and if so, how little money you can spend to get this result.(a) Rephrase this is as a graph problem. Give a precise definition of how to model this problem as a graph, and state the specific question about this graph that must be answered.(b) What algorithm should you apply to solve this problem?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 01:50
Free points just awnser this. what should i watch on netflix
Answers: 2
question
Computers and Technology, 23.06.2019 21:20
In microsoft word, when you highlight existing text you want to replace, you're in              a.  advanced mode.    b.  automatic mode.    c.  basic mode.    d.  typeover mode
Answers: 1
question
Computers and Technology, 24.06.2019 01:10
Create a program that will take in a single x and y coordinate as the origin. after the input is provided, the output should be all of the coordinates (all 26 coordinates read from the “coordinates.json” file), in order of closest-to-farthest from the origin.
Answers: 1
question
Computers and Technology, 24.06.2019 01:30
Hazel has just finished adding pictures to her holiday newsletter. she decides to crop an image. what is cropping an image?
Answers: 1
You know the right answer?
You have three batteries, with 4200, 2700, and 1600 mAh (milli-Amp-hours), respec-tively. The 2700 a...
Questions
question
Mathematics, 02.04.2020 16:07
question
Mathematics, 02.04.2020 16:08
question
Mathematics, 02.04.2020 16:08
Questions on the website: 13722363