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
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
Burgers vector is generally parallel to the dislocation line. a)-true b)-false
Answers: 2
question
Engineering, 04.07.2019 18:10
Manometers are good examples of measuring instruments, nowadays they are not as common as before. a)-capacitive probe gauges b)-gravitational gauges deformation ) gauges d)-digital gauges
Answers: 1
question
Engineering, 04.07.2019 18:10
Aturning operation is performed with following conditions: rake angle of 12ยฐ, a feed of 0.35 mm/rev, and a depth of cut of 1.1 mm. the work piece is aluminum alloy 6061 with t6 heat treatment (a16061-t6). the resultant chip thickness was measured to be 1.0 mm. estimate the cutting force, fc. use shear stress of 207 mpa and coefficient of friction on the tool face of 0.6.
Answers: 1
You know the right answer?
Trading strategies consider the following generalization of the jukebox problem you solved manually...
Questions
question
History, 04.02.2020 23:53
question
Social Studies, 04.02.2020 23:53
question
Mathematics, 04.02.2020 23:53
Questions on the website: 13722363