Sie sind auf Seite 1von 2

Miteyan Patel

Robinson

mp781

Report of Temperature Rises


Analysis
Here are the prices of the stock as of now if $399 were invested at the
release of the iPod:
IBM = $560.40
Microsoft = $690.46
Apple = $28604
Investing in any of these companies would have been worth it because all
of them increased in stock prices between now and the release of the iPod
and therefore you would have made money either way, although
investigating in Apple would have been much more beneficial than the
other two as the increase in stock has been much larger.

3.5

x 10

Value of $399 investment in IBM, Microsoft, Apple from iPod release


IBM
Apple
Microsoft

Stock Value / $

2.5

1.5

0.5

2002

2004

2006

2008
Year

2010

2012

2014

2016

Figure 1: Graph of the value of $399 investment in IBM,


Microsoft, Apple from the date of the iPod release

Miteyan Patel

Robinson

mp781

Appendix: Matlab code of the graph function for the


stock prices plot
dataapple = dlmread('apple.csv',',',1,0)
datamicrosoft = dlmread('microsoft.csv',',',1,0)
dataibm = dlmread('ibm.csv',',',1,0)
hold on
set(gca, 'fontsize', 12)
xlim([2001 2016])
plot(dataibm(1:168,1), 399*dataibm(1:168,2)/103.46,'b')
plot(dataapple(1:168,1), 399*dataapple(1:168,2)/10.65,'r')
plot(datamicrosoft(1:168,1), 399*datamicrosoft(1:168,2)/25.86,'g')
title('Value of $399 investment in IBM, Microsoft, Apple from iPod release')
xlabel('Year')
ylabel('Stock Value / $')
legend('IBM', 'Apple', 'Microsoft','Location', 'NorthWest')
hold of

Das könnte Ihnen auch gefallen