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 18:20
Ahe-xe mixture containing a 0.75 mole fraction of helium is used for cooling electronics in an avionics application. at a temperature of 300 k and atmospheric pressure, calculate the mass fraction of helium and the mass density, molar concentration and molecular weight of the mixture. if the cooling capacity is 10 l, what is the mass of the coolant?
Answers: 3
question
Engineering, 04.07.2019 18:20
Air is compressed isentropically from an initial state of 300 k and 101 kpa to a final temperature of 1000 k. determine the final pressure using the following approaches: (a) approximate analysis (using properties at the average temperature) (b) exact analysis
Answers: 1
question
Engineering, 04.07.2019 19:20
The power source in a certain welding setup generates 3500w that is transferred to the low carbon steel work with a heat transfer factor of 0.85. the melting factor in the operation is 0.45. a continuous fillet weld is to be made with a cross-sectional area of 23 mm2 determine the travel speed at which the welding can be accomplished.
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
Health, 29.10.2020 23:00
question
Mathematics, 29.10.2020 23:00
question
Business, 29.10.2020 23:00
question
Geography, 29.10.2020 23:00
question
English, 29.10.2020 23:00
question
English, 29.10.2020 23:00
question
Mathematics, 29.10.2020 23:00
Questions on the website: 13722361