Question: Problem 1 : The arrays price _ A , price _ B , and price _ C given below contain the price in dollars of

Problem 1:
The arrays price_A, price_B, and price_C given below contain the price in dollars of three stocks over 10 days.
a) Determine how many days the price of stock A was above both the price of stock B and the price of stock C .
b) Determine how many days the price of stock A was above either the price of stock B or the price of stock C.
Problem 2:
The price, in dollars, of a certain stock over a 10-day period is given in the following array.
prite =[19,18,22,71,25,19,17,21,27,27]
Suppose you owned 1000 shares at the start of the 10-day period, and you bought 100 shares every day the price was below $20 and sold 100 shares every day the price was above $25. Compute:
a) The amount you spent on buying shares
b) The amount you received from the sale of shares
c) The total number of shares you own after the 10th day (Ans. To Check: 1200)
d) The net increase in the worth of your portfolio (Ans. To Check: $15800)
Problem 1 : The arrays price _ A , price _ B ,

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!