Engineering
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.

answer
Answers: 1

Other questions on the subject: Engineering

image
Engineering, 04.07.2019 18:10, agpraga23ovv65c
Carbon dioxide gas expands isotherm a turbine from 1 mpa, 500 k at 200 kpa. assuming the ideal gas model and neglecting the kinetic and potential energies, determine the change in entropy, heat transfer and work for each kilogram of co2.
Answers: 2
image
Engineering, 04.07.2019 18:20, DroctorWellsfan
Inspection for bearing condition will include: (clo4) a)-color b)-smell c)-size d)-none of the above
Answers: 1
image
Engineering, 04.07.2019 18:20, miguel454545
Along 8-cm diameter steam pipe whose external surface temperature is 900c connects two buildings. the pipe is exposed to ambient air at 70c with a wind speed of 50 km/hr blowing across the pipe. determine the heat loss from the pipe per unit length. (b) air at 500c enters a section of a rectangular duct (15 cm x 20 cm) at an average velocity of 7 m/s. if the walls of the duct are maintained at 100c. a) the length of the tube for an exit temperature of the air to be 40 0c. b)the rate of heat transfer from the air. c) the fan power needed to overcome the pressure drop in this section of the duct.
Answers: 1
image
Engineering, 04.07.2019 18:20, xcapo1x
Refrigerant-134a enters the compressor of a refrigerator as superheated vapor at 0.14 mpa and -10°c at a rate of 0.05 ka/s and leaves at 0.8 mpa and 50°c. the refrigerant is cooied in the condenser to 0.72 mpa and 26'c. it is then throttled to 0.15 mpa. sketch the t-s diagram for the system and evaluate: 6) the rate of heat removai from the refrigerated space (kw), it) the power input to the compressor (kw), ii) the isentropic efficiency of the compressor (%), and iv) the cop of the refrigerator.
Answers: 2
Do you know the correct answer?
Shortest path algorithms can be applied in currency trading. let c1 , c2 , . . , cn be various cur-...

Questions in other subjects:

Konu
Mathematics, 22.09.2019 21:50