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, 04.07.2019 18:10
Acompressor receives the shaft work to decrease the pressure of the fluid. a)- true b)- false
Answers: 3
question
Engineering, 04.07.2019 18:10
Hydraulic fluid with a sg. of 0.78 is flowing through a 1.5 in. i.d. pipe at 58 gal/min. the fluid has an absolute viscosity of 11.8 x 105 lbf-sec/ft2. is the flow laminar, turbulent or within the critical range? give both a numerical reynolds number and a term answer.
Answers: 3
question
Engineering, 04.07.2019 18:20
Vibration monitoring this technique uses the noise or vibration created by mechanical equipment and in seme cases by plant systems to detemine their actual condtion. a)- true b)- false
Answers: 2
question
Engineering, 04.07.2019 18:20
For each of the following process: a) sketch the p-v diagram, b)sketch t-s diagram, c) sketch t-v diagram, d) sketch the boundary work on one of the diagrams (a, b or c) and e) sketch the reversible heat transfer on one of the diagrams (a, b or c): 1- isobaric process from compressed liquid to superheated vapor 2- isothermal process from compressed liquid to superheated vapor 3- isentropic process from compressed liquid to superheated vapor
Answers: 3
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, 16.07.2019 03:00
Questions on the website: 13722363