subject

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.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 13:30
Jane’s team is using the v-shaped model for their project. during the high-level design phase of the project, testers perform integration testing. what is the purpose of an integration test plan in the v-model of development? a. checks if the team has gathered all the requirements b. checks how the product interacts with external systems c. checks the flow of data in internal modules d. checks how the product works from the client side
Answers: 1
question
Computers and Technology, 23.06.2019 00:00
What engine component is shown in the above figure?
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
This graph compares the cost of room and board at educational institutions in texas.
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
What are loans to a company or government for a set amount of time
Answers: 1
You know the right answer?
Imagine that you wish to exchange one currency for another. you realize that instead of directly exc...
Questions
question
Mathematics, 28.08.2019 14:30
question
Mathematics, 28.08.2019 14:30
Questions on the website: 13722363