subject
Engineering, 18.10.2019 23:00 gaby8282

Shortest path algorithms can be applied in currency trading. let c1 , c2 , . . , cn be various cur- rencies; for instance, c1 might be dollars, c2 pounds, and c3 lire. for any two currencies ci and cj , there is an exchange rate ri, j ; this means that you can purchase ri, j units of currency cj in exchange for one unit of ci . these exchange rates satisfy the condition that ri, j · rj, i < 1, so that if you start with a unit of currency ci , change it into currency cj and then convert back to currency ci , you end up with less than one unit of currency ci (the difference is the cost of the transaction). (a) give an efficient algorithm for the following problem: given a set of exchange rates r i, j , and two currencies s and t, find the most advantageous sequence of currency exchanges for converting currency s into currency t. toward this goal, you should represent the currencies and rates by a graph whose edge lengths are real numbers.

ansver
Answers: 1

Another question on Engineering

question
Engineering, 03.07.2019 15:10
If you were designing a bumper for a car, would you prefer it to exhibit elastic or plastic deformation? why? consider the functions of a bumper in both a minor "fender-bender" and a major collision.
Answers: 1
question
Engineering, 04.07.2019 08:10
Which of the following is an easy way to remember the modified “x” tire rotation? a. nondrive wheels straight, cross the drive wheels b. drive wheels straight, cross the nondrive wheels c. drive wheels crossed, nondrive wheels straight d. drive wheels crossed, nondrive wheels crossed
Answers: 1
question
Engineering, 04.07.2019 16:10
An electrical motor raises a 50kg load at a construct velencity .calculate the power of the motor, if it takes 40sec to raise the load through a height of 24m(take g =9.8n/g)
Answers: 2
question
Engineering, 04.07.2019 18:10
The temperature of air decreases as it is compressed by an adiabatic compressor. a)- true b)- false
Answers: 2
You know the right answer?
Shortest path algorithms can be applied in currency trading. let c1 , c2 , . . , cn be various cur-...
Questions
question
Computers and Technology, 24.09.2021 02:20
question
Chemistry, 24.09.2021 02:20
question
Mathematics, 24.09.2021 02:20
question
Mathematics, 24.09.2021 02:20
question
Mathematics, 24.09.2021 02:20
question
Mathematics, 24.09.2021 02:20
question
Biology, 24.09.2021 02:20
Questions on the website: 13722363