The price, in dollars, of a certain stock over a 10-day period is given in the following array.
Suppose you owned 1000 shares at the starting 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. Use MATLAB to compute (a) the amount you spent in buying shares, (b) the amount you received from the sale of shares, (c) the total number of shares you own after the 10th day, and (d) the net increase in the worth of your portfolio.
This question belongs to MATLAB software and discusses about application of MATLAB in mathematics and to compute amount spent in buying shares, amount you received from the sale of shares, the total number of shares you own after few days and the net increase in the worth of your portfolio.
Download Full Solution
If you are here for the first time, you can request for a discount coupon, which can knock off upto 20% of the quoted price on any service.