Chapter9 Practical Project Work
Chapter9 Practical Project Work
n
U
9
LEARNING OUTCOMES
After completion of the unit the students will be able to:
Plot the different graphs of functions on Excel.
Learn different operations performed on the matrix.
Learn how to perform simulation.
Comprehend practical applications of demand and supply associated with economics.
Understand the meaning of Data Analysis and Data Visualization.
Apply Analytical Methods for business decision-making.
Analyse different data and develop meaningful inferences for decision-making.
2. Select columns of price, quantity demanded, and quantity supplied and click on the Insert
Tab, choose line chart from chart group.
3. After choosing a line chart, it will appear with the mentioned data values on the x-axis and
y-axis with different colors. By default, the price would be at x–axis.
With the same data, you can also visualize the data by using a scatter plot. The scatter chart is
shown below. The supply and demand curve will intersect at a point which is your equilibrium point
and it is visible in both the charts.
1. In Microsoft Excel, the MMULT function is used for multiplying any two matrices. So let’s
take two matrices 3x3 matrix A and matrix B as shown in the given figure below.
2. For multiplication of two matrices A and B, the number of columns in the first matrix must
be equal to the number of rows in the second matrix. After selecting the cells 3x3 and write
down the MMULT () function in the given cell . You can see in the below figure once you
write the MMULT function it asks for array 1 and array2.
3. While calculating the result, key Combination Ctrl+Shift+Enter should be used and you will
get the desired output. As you can see in fig 9.
Note: Do Not Press Enter Alone, Pressing enter alone will only show one value instead of a matrix.
2. Once you create the matrix, then write the MINVERSE in the highlighted cell in which where
you want to place the resulting matrix . For the array, select the Matrix A cells (B2:D4). As
you can see in the below-given image fig:11.
3. While calculating the result, key Combination Ctrl+Shift+Enter should be used and you will
get the desired output. As you can see in fig 12.
Note: Do Not Press Enter Alone, Pressing enter alone will only show one value instead of a matrix.
1. After entering the data in the table we write the PROB function in the formula bar along with
the arguments. Select the cell (A2:A7) for grades and B2:B7 for corresponding probabilities
with lower limit 50 and upper limit 80.
2. After applying the formula you will get the resultant in desired cell i.e.C2 cell 0.95.
2. After selecting the Segoe UI Symbol, select the dices from 1 to 6 in column B.
4. The Next step is to generate the random number between 1 and 6 just similar to the roll of
dice by using built-in function RANDBETWEEN. By applying this function, you have to enter
the bottom and top values.
7. Add different parameters like lookup value, table array col index and range lookup. Write
down the formula in cell D4, open the bracket and choose D3 value and put a comma. For
table array, select the column A and B along with the associated values within the cell and
press F4. Add col index value is 2 and for range lookup to choose the argument FALSE. And
press enter.
Syntax:
=VLOOKUP (value, table, col_index, [range lookup])
Arguments:
Value: The value to look for in the first column.
Table: The table from which to retrieve a value.
Col_index: The column in the table from which to retrieve a value.
Range_lookup: - [optional] TRUE = approximate match (default),FALSE = exact match.
10: Now select one dice, copy it and paste it on another sheet and check the formula bar.
11. Similarly check for dice 2 and add some changes for rolling the dice in the given cell on the
formula bar for rolling the dice simulation.
After getting the 1st value, drag the A2 cell till A7, you will get all the values by formula. See
the values in the given below fig 32. Now select both column A and column B and then for plotting
the graph, go to the INSERT tab and click on charts and choose to scatter plot. Your linear function
would be plotted for the given values which are shown in Fig 33. The Graph shows the straight line.
3. After applying the formula, press enter and you will get the desired value of f(x) for value
x = - 5 i.e 7 in Fig 35.
4. Now if you want to use the auto-completion, we simply lock the cells containing the values
of a, b, and c as shown in fig 36.
After applying function for value 1 and then press enter you will get the value i.e. 2.718282
approximately. You can see in fig 39. Similarly, apply for different values and calculate the exponential
values for different values of x.
If you want to add Trend lines , right-click on the plotted graph line and select the Add Trend
Line option as shown in fig 41.
Let’s take an example to get a better understanding of using Stock data type . How you convert
the text into Stock and Geography Data Type.
In fig 44 which is given below, first, you have to type any text in the cell-like I have written
google text in Column A cell A1.
If you want stock information, type a ticker symbol, company name, or fund name into each cell.
If you want geographic data, type a country, province, territory, or city name into each cell.
After selecting the Stock information, as you can see in fig 45 ,the table of stock information
would be placed on an Excel worksheet.
Now the next step is that you have to convert into Stock Data type . For this you have to select
the cells to go to the Data Tab and select the Stocks Data Type or Geography Data Type as per your
data choice. So here I would choose the Stock data type according to my data .You can see in fig
46, you’ll know they’re converted if they have this icon for stocks: and this icon for geography:
After selecting the stock data type you will see that the first Company Name Microsoft Corporation
converted into Stock Data Type and you can see the symbol on the left corner of the text. Similarly,
one by one you can convert all company names into a stock data type. You can see in both fig 47
and 48.
Once all done with the stock data type, after that you have to add different metrics or information
related to different stocks in your data set. Select one or more cells with the data type and the Insert
Data button will appear as you can see in the above-given fig 48.Click that button and you will
notice a lot of different information or fields associated with that particular stock. Choose one field
and it will be added to the right of your current data set.
In the given example as shown in fig 49, I choose 52 weeks high, you can choose price also. For
Geography, you might pick Population.
Once you press enter you will get the value associated with the chosen field. Similarly, apply the
same formula with different data set and choose different fields also.
See the results in fig 50 and 51 which are given below.
Let’s take an example like suppose you are working with company data, you have questions
like “How much revenue is contributed by branches of North region?” or “What was the average
number of customers for product A or B?” and many others. Then pivot table is the best tool for
analysing this kind of data.
A pivot table provides different operations like count, average, sum, and perform other calculations
according to the reference which you have selected i.e. It converts a data table to an inference table
so that we can analyse the data and which helps us to make better decisions.
The table given in fig 54 has sales detail of each customer with the region and product mapping.
In the table which is given in fig 55, we have summarized the information at the regional level which
now helps us to generate an inference that the South region has the highest sales.
3. Now you can see the pivot table panel at the right-hand corner which contains different
fields in the given list. Choose the field as per need for data analysis and making inferences
based on them. Once you select the fields, here I have selected Product id, Premium and
Region Field.
5. If you want to change the rows and columns of the fields which you have selected then right-
click the row or column label or the item in a label, point to Move, and then use one of the
commands on the Move menu to move the item to another location. Seein fig 59 .
Similarly, we can analyse the weather also by collecting the weather dataset and make inferences
based on different parameters or metrics. Get the daily temperature and weather conditions .You
can take the metrics: Weather Type and for visualization choose different colours for every different
weather, whether its rain, cloud, snow or sun. Make a table with two columns one for weather
description and another for type.
Now for analysis, Choose a date, day, temp and weather for making better predictions and
making decisions.
Collect data from newspapers on traffic, sports activities and on market trends and use excel
to study future trends.
Before going to study future trends first we must know about some terminologies which have
worked and going to help you in predicting, analysing the trends.
Forecasting: It is the process of predicting the future by analysing the past and present data.
When we talk about Quantitative forecasting so it will work on time series data like we want to
know the number of passengers flying every year on planes by use of time series data.