Question 2 The table below depicts the United States’ market…

Question 2 The table below depicts the United States’ market demand and supply for insulin.  PRICE QUANTITY OF INSULIN DEMANDED QUANTITY OF INSULIN SUPPLIED $0.20 80,000 doses 50,000 doses $0.40 75,000 doses 55,000 doses $0.60 70,000 doses 60,000 doses $0.80 65,000 doses 65,000 doses $1.00 60,000 doses 70,000 doses Part (i): Refer to the table above. Suppose that the world price of insulin is $0.40 per dose. How many doses of insulin with the United States produce? How many units will be consumed domestically? Part (ii): Refer to the table above. Suppose that the world price of insulin is $0.40 per dose. Will the United States import or export insulin? How many units? Part (iii): Refer to the table above. Suppose that the world price of insulin is $0.40 per dose, and the government imposes a $0.20 tariff per dose. How many doses of insulin with the United States produce? How many units will be consumed domestically? Part (iv): Refer to the table above. Suppose that the world price of insulin is $0.40 per dose, and the government imposes a $0.20 tariff per dose. Will the United States import or export insulin? How many units?

Upload a Python source file (.py) that defines a function na…

Upload a Python source file (.py) that defines a function named hadamard. This function will take a lists (of variable length) of several lists of integer (all of which have the same length) values as its only parameter. Each of these lists will represent a vector and you will return a list that is the Hadamard product of all these vectors. Please note that if even a single of the vectors has a different length, then your function will return an empty list. Reminder: The Hadamard product of two vectors A and B is a vector C in which every element at index i is the product of the elements at the same index in A and B. In other words, C[i] is equal to A[i] * B[i]. You are free to add code to your file that will call your function in order to test it. This part will not be graded but will help you ensure that your function performs as expected. Examples: hadamard( [ [1,2,3,4], [2,3,4,1], [3,4,1,2], [4,1,2,3] ] ) will return [24.0, 24.0, 24.0, 24.0] hadamard( [ [3,5,4,6], [8,3,2,5], [1,2,1,4] ] ) will return [24.0, 30.0, 8.0, 120.0] hadamard( [ [1, 2, 3, 4] ] ) will return [1.0, 2.0, 3.0, 4.0] hadamard( [ ] ) will return [] hadamard( [ [1,2,3,4] , [1,2,3] ] ) will return [] hadamard( [ [1,2,3,4] , [1,2,3,4,5] ] ) will return [] hadamard( [ [ ] ] ) will return [] hadamard( [ [ ], [ ] ] ) will return [] Grading Rubric:  4 points for passing each of the above tests (0.25 point each). Deductions will be applied if other errors are found in your programs. Please note that, to get any credit, your function must solve the problem for any input. The tests are just examples, not an exhaustive list. 

Upload a Python source file (.py) that defines a function na…

Upload a Python source file (.py) that defines a function named sum_mul5. This function will take a list of int values as its only parameter. It will return the sum of all the numbers in that list that are a multiple of 5.  You are free to add code to your file that will call your function in order to test it. This part will not be graded but will help you ensure that your function performs as expected. Examples: sum_mul5( [] ) will return 0 sum_mul5( [1, 3, 5, 7] ) will return 5 sum_mul5( [2, 3, 5, 7, 8 , 10, 1, 4, 12, 5] ) will return 20 sum_mul5( [2, 4, 6, 8, 12] ) will return 0 Grading Rubric:  4 points for passing each of the above tests (1 point each) Please note that, to get any credit, your function must solve the problem for any input. The tests are just examples, not an exhaustive list of possible inputs. 

You have your financial advisor enter a market order for 100…

You have your financial advisor enter a market order for 100 shares of Bluto stock. It is trading for $707.94 per share in the secondary market and you purchase them at that price. At the end of market close, the stock closes at $789.36 per share.  How much is the total value of your stock worth?