Computers and Technology

Imagine that you wish to exchange one currency for another. you realize that instead of directly exchanging one currency for another, you might be better off making a series of trades through other currencies, winding up with the currency you want. suppose that you can trade n different currencies, numbered 1.2, , n, where you start with currency 1 and wish to wind up with currency n. you are given, for each pair of currencies i and j, an exchange rate r_ij, meaning that if you start with d units of currency i, you can trade for dr_ij units of currency j. a sequence of trades may entail a commission, which depends on the number of trades you make. let c_k be the commission that you are charged when you make k trades. show that, if c_k = 0 for all k = 1, 2, , n, then the problem of finding the best sequence of exchanges from currency 1 to currency n exhibits optimal substructure. then show that if commissions c_k are arbitrary values, then the problem of finding the best sequence of exchanges from currency 1 to currency n does not necessarily exhibit optimal substructure.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 03:30, rebekah2503
Identify at least three types of characteristics that you were asked about as you the computer identify a fruit.
Answers: 3
image
Computers and Technology, 22.06.2019 06:30, iamquintix
Exchanging which type of data uses the least bandwidth? music photographs video voice bandwidth- the amount of data that can be moved between two points in a set time period
Answers: 1
image
Computers and Technology, 22.06.2019 15:30, DestinyK8033
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
image
Computers and Technology, 23.06.2019 14:30, HarryPotter10
Open this link after reading about ana's situation. complete each sentence using the drop-downs. ana would need a minimum of ato work as a translator. according to job outlook information, the number of jobs for translators willin the future.
Answers: 3
Do you know the correct answer?
Imagine that you wish to exchange one currency for another. you realize that instead of directly exc...

Questions in other subjects: