Question: 4. using MATLAB do the following question .The recent stock price of McDonald is shown in the table below Date 10/24/2019 10/25/2019 10/28/2019 10/29/2019 10/30/2019


4. using MATLAB do the following question .The recent stock price of McDonald is shown in the table below Date 10/24/2019 10/25/2019 10/28/2019 10/29/2019 10/30/2019 10/31/2019 11/1/2019 11/4/2019 11/5/2019 11/6/2019 11/7/2019 11/8/2019 11/11/2019 11/12/2019 11/13/2019 11/14/2019 11/15/2019 Price ($/share) 199.54 195.89 195.00 192.00 193.29 197.09 197.78 190.34 189.55 193.30 196.00 194.60 193.63 193.00 193.77 195.23 193.97 Suppose you owned 100 shares with no cash before October 24, 2019, and you bought 10 shares every day the price was below $193.50 and sold 10 shares every day the price was above $195.00. For each transaction (buying or selling shares) you will have to pay a flat commission fee of $10.00. Use MATLAB to computer the follow (a) (b) (C) ( (d) The daily amount your total stock holding in dollars. The daily amount your total cash in dollars. The total number of shares you own after the November 15, 2019. The net change in the worth (defined as sum of stock holding and cash) after November 15, 2019. Use double Y-axis to plot the daily amount of worth (sum of stock holding and cash) and unit stock price. (e) 4. using MATLAB do the following question .The recent stock price of McDonald is shown in the table below Date 10/24/2019 10/25/2019 10/28/2019 10/29/2019 10/30/2019 10/31/2019 11/1/2019 11/4/2019 11/5/2019 11/6/2019 11/7/2019 11/8/2019 11/11/2019 11/12/2019 11/13/2019 11/14/2019 11/15/2019 Price ($/share) 199.54 195.89 195.00 192.00 193.29 197.09 197.78 190.34 189.55 193.30 196.00 194.60 193.63 193.00 193.77 195.23 193.97 Suppose you owned 100 shares with no cash before October 24, 2019, and you bought 10 shares every day the price was below $193.50 and sold 10 shares every day the price was above $195.00. For each transaction (buying or selling shares) you will have to pay a flat commission fee of $10.00. Use MATLAB to computer the follow (a) (b) (C) ( (d) The daily amount your total stock holding in dollars. The daily amount your total cash in dollars. The total number of shares you own after the November 15, 2019. The net change in the worth (defined as sum of stock holding and cash) after November 15, 2019. Use double Y-axis to plot the daily amount of worth (sum of stock holding and cash) and unit stock price. (e)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
