subject
Engineering, 13.11.2019 01:31 gimmethemanswers

Trading strategies consider the following generalization of the jukebox problem you solved manually on the previous homework assignment: each month you can buy up to maxbuy jukeboxes at buy (bid) price, sell up to maxsel1 jukeboxes at the selling (ask) price, or do nothing. for each jukebox in inventory at the end of a month, you must pay s100 for maintenance and cleaning. for each jukebox left over at the end of the time horizon, you obtain a "salvage value" of s2000. suppose initially that you have exactly the same situation described in the last homework: your inventory capacity is 2 jukeboxes, maxbuy 1, maxsell-1 and you start with 0 inventory. you are planning for 4 months and the selling and buying prices you expect for the next 4 months are as follows: month1234 sell (ask) price$2500$2800$2000$2700 buy (bid) price$2600$2900$2100$2800 required : create a python program to maximize your profits in the following instance of the problem, identical to the one you solved by hand on the previous homework assignment. print out and hand in both the source code for your program and its output. in addition, upload your source code to blackboard, under "assignments" and "homework assignment 6, q2(a)". you are encouraged to use the python codes and templates distributed in class as a starting point for your code.

ansver
Answers: 2

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Steel is coated with a thin layer of ceramic to protect against corrosion. what do you expect to happen to the coating when the temperature of the steel is increased significantly? explain.
Answers: 1
question
Engineering, 04.07.2019 18:10
Apump is used to circulate hot water in a home heating system. water enters the well-insulated pump operating at steady state at a rate of 0.42 gal/min. the inlet pressure and temperature are 14.7 lbf/in.2, and 180°f, respectively; at the exit the pressure is 60 lbf/in.2 the pump requires 1/15 hp of power input. water can be modeled as an incompressible substance with constant density of 60.58 lb/ft3 and constant specific heat of 1 btu/lb or. neglecting kinetic and potential energy effects, determine the temperature change, in °r, as the water flows through the pump.
Answers: 1
question
Engineering, 04.07.2019 18:10
Afull journal bearing has a journal diameter of 27 mm, with a unilateral tolerance of -0.028 mm. the bushing bore has a diameter of 27.028 mm and a unilateral tolerance of 0.04 mm. the l/d ratio is 0.5. the load is 1.3 kn and the journal runs at 1200 rev/min. if the average viscosity is 50 mpa-s, find the minimum film thickness, the power loss, and the side flow for the minimum clearance assembly.
Answers: 1
question
Engineering, 04.07.2019 18:10
Thermal stresses are developed in a metal when its a) initial temperature is changed b) final temperature is changed c) density is changed d) thermal deformation is prevented e) expansion is prevented f) contraction is prevented
Answers: 2
You know the right answer?
Trading strategies consider the following generalization of the jukebox problem you solved manually...
Questions
question
Social Studies, 05.02.2022 14:00
question
Social Studies, 05.02.2022 14:00
Questions on the website: 13722360