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, 22.06.2019 07:00
Idon understand these and need some ! ?
Answers: 2
question
Computers and Technology, 23.06.2019 13:00
Which one of the following voltages should never be measured directly with a vom? a. 1200 v b. 500 v c. 800 v d. 100v
Answers: 2
question
Computers and Technology, 23.06.2019 18:30
Janice recently received her college degree and is looking for a job. she is worried that since she just finished school, she will be required to repay her perkins and direct subsidized loans immediately. janice pulls out the paperwork she signed and reviews it again for repayment information. after reading all of the information, janice discovers that
Answers: 2
question
Computers and Technology, 23.06.2019 20:00
What multimedia system creates an immersive, real-life experience that the user can interact with?
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, 05.10.2020 16:01
question
Mathematics, 05.10.2020 16:01
question
Mathematics, 05.10.2020 16:01
Questions on the website: 13722360