ACKNOWLEDGMENT
I would like to express my special thanks of gratitude to my
Mathematics teacher Mousmi mam as well as our school principal
who gave me the excellent opportunity to do this wonderful project
on the topic Applied mathematics using excel, which also helped me
in doing a lot of Research and I came to know about so many new
things, like I've learned a lot about how can I apply maths in excel.
I am really thankful to them. Secondly, I would also like to thank my
parents and friends who helped me a lot in finishing this project
within the limited time. Just because of them I was able to create my
project and make it good and enjoyable experience.
I am making this project not only for marks but to also to improve
my knowledge.
THANKS AGAIN TO ALL WHO HELPED ME.
Atul Singh
1|Page
INDEX
SNO. CONTENT PAGE NO.
1 Demand supply chart in Excel 3
2 Defining and Naming Arrays 5
3 Matrix addition 6
4 Multiplying a Matrix by a 7
Scalar
5 Matrix Multiplication 8
6 Matrix Transpose 9
7 Inverting a Matrix 10
8 Matrix determinant 11
9 Calculation of probability in 12
Excel
10 Function and graph in excel 13
11 Stock market data sheet on 16
Excel
12 Predicting the sales growth 18
with trend
1.Demand supply chart in Excel
Start a blank worksheet in excel.
Create a price-demand-supply table as shown in figure 1.
Qs = Quantity supply
Qd = Quantity demand
Select the table and go to Insert menu. Choose Scattered with straight line from the
chart menu. As shown in figure 2
3|Page
Figure 2 Insert the chart
The chart will appear on the sheet.
Figure 3 The line chart
Select the table and go to Insert menu. Choose Scattered with dots from the chart
menu. As shown in figure 4
2.Defining and Naming Arrays
• To give a name to the range of cells that hold an array:
• Select the cells containing the array.
• Enter the desired name in the name box at the left side of the formula bar. As
shown in fig 5.
• Alternatively, a selected range can be assigned a name by using the ribbon
options:
• Formulas/Defined Names/Define Name
Figure 5 Naming a range
5|Page
3.Matrix addition
Matrix addition using array math:
Name the cell ranges containing the arrays that will be added.
Select a cell range with same dimensions as parent matrices.
Then enter the formula= name matrix 1+name matrix 2. As shown in fig 6.
Press [Ctrl-Shift-Enter] after entering formula.
Select cell range
Enter formula
Important ! Press [crtl-shift-enter] after entering formula
Figure 6 Adding two matrixes
4.Multiplying a Matrix by a Scalar
Scalar multiplication using array math:
Enter and name the array that will be multiplied. Same as shown in figure 5.
Indicate the size of the result matrix by selecting the desired cell range.
Enter the formula + [Ctrl-Shift-Enter] as shown in figure 7.
Select the range
Enter formula
Important ! Press[crtl-shift-enter]after entering formula
Figure 7 Multiply o scaler and a matrix
7|Page
5.Matrix Multiplication
In order to multiply two matrices, the number of columns in the first matrix
must equal the number of rows in the second matrix. Ex:
[el, 2x1
To multiply these matrices, "inside" dimensions must match (2,2). The
product matrix dimension will have "outside" dimensions (3x1).
Procedure:
Enter and name the arrays that will be multiplied as shown in figure 1.
Indicate the size of the result matrix by selecting the desired cell range.
Enter the following function: MMULT (first matrix, second matrix) +
[CtrlShift-Enter] as shown in figure 8.
Note: Alternatively, you can use the mouse to indicate the cell ranges instead of
using arrays names.
Enter MMULT Function
Select cell range
(outside dimensions)
Important ! Press[crtl-shift-enter]after entering formula
6.Matrix Transpose
Transpose Using PASTE SPECIAL:
Select and copy the array to be transposed.
Indicate the cell that will contain the top-left
corner of the result matrix. open the PASTE
SPECIAL dialog, using right click or ribbon options
Home/Paste(menu)/Paste Special.
Select values in the paste selection, and check the transpose check
near the bottom of the dialog. As shown in figure 9.Click OK button.
Figure 9 Paste a transpose
• Matrix Transpose
Using TRANSPOSE array function:
Enter the original matrix.
Indicate where the result should be placed, showing the exact size of the
transposed matrix.
Enter the TRANSPOSE() array function + [Ctrl-Shift-Enter]. As shown in fig
10.
Figure 10 Transpose function
9|Page
7.Inverting a Matrix
Only square, non-singular matrices can be inverted.
Procedure:
Enter the matrix to be inverted and name it if desired.
Indicate where the result should be placed, showing the exact size (same
as original matrix).
Enter the MINVERSE() array function + [Ctrl-Shift-Enter]. As shown in fig
11.
Figure 11 Inverse a matrix
8. Matrix Determinant
The determinant Of a matrix is a single value. If determinant=O, matrix is
singular and cannot be inverted. A matrix is singular if:
Any row or column contains all zeros
Any two rows or columns are identical • Any row or column is a linear
combination of other rows or columns. TO calculate the determinant Of a
matrix: Use MDETERM() function as shown in Fig 12
Figure 12 Determinant of a matrix
11 | P a g e
9.Calculation of probability in Excel
Excel has the PROB() function to calculate probability. The Syntax is =PROB
(x_range, prob_range, [lower_limit],[upper_limit]).
range — the range of numeric values containing our data
prob range —the range of probabilities for each corresponding value in our range
lower limit —the lower limit of the values for which we want to calculate the
probability
upper limit —the upper limit of the values for which we want to calculate the
probability
Prepare the data table first.
Define the upper and lower limit as per our requirement. As
shown in Fig 13.
Here we took probability of different number of sale and their
probability.
The sum of all probability must be 1, otherwise the function will not
work.
Here we are xalculating the probability of sale lying between 50 and
80. The cell C11 will show the result.
Select cell Cll
In the formula bar, enter the function -PROB (x_range, prob_range,
[lower_limit],[upper_limit]) as shown in Fig 14.
Here x_range=Product sale range = B4:B7)
Prob_range = Probablity range = C4:C7)
Upper limit=C9, lower limit—CI0
Figure 14 Eter PROB function
10.Function and graph in excel
Function F(x)=ax A 2+bx+c
Here we will plot the graph of keeping x within range of -10 to
+10
Create two column x and f(x) into a blank excel worksheet.
Fill the x values from -10 to 10, starting from cell A15.
In cell B15, use formula As shown in Fig 15
Drag to fill the B15 formula down to B35 cell.
Select the table and go to Insert chart menu.
Choose chart scattered with smooth lines. As shown in Fig 16
Figure 16 Insert chart
The chart will appear on the sheet. As shown in Fig 17.
Figure 17 The plotted graph
13 | P a g e
Graph of exponential function f(x) = eAx
Create two column x and exp(x) in a blank
worksheet.
Fill the values of x from O to 10
In cell 82, use function
= EXP(A2). Drag and fill the function down to 812. As shown
Figure 18 Create the data table
Select the data table. Go to Insert chart menue. Choose chart
scattered smooth lines. The chart will appear in the sheet. As
shown in Fig 19.
Figure 19 Insert the chart
15 | P a g e
11. Stock Market Data Sheet on Excel
The STOCK data type has a link to online
database and it will work only with
internet connection. When the data type
is STOCK, it will auto collect and display
the information from online database.
First we will get some company names.
Select the list. Choose Data-Stock-Stock.
As shown in the figure 20.
This function is not available bellow
Exce1365, so we have to copy those
data from browser and paste as linked.
Then we need to refresh it manually
time to time.
When the company names
are converted to STOCK
type data, they have the
stock symbol at left side
and a list symbol at right
side.
The list button is linked to
all concerned information
of the stock available in the
stock market database. As
shown in Fig 21. Those
conversion will work only if
the company name is found
in the stock market
database.
Figure 20 The Stock data table
17 | P a g e
12. Predicting the Sales Growth with Trend
Create a table of 12 month's sale data. As shown in Fig 22. Then estimate the
sale of next quarter based on historical data in Al:B13.
Enter the TREND function into cell E2. Remember to use absolute reference
with $ sign for the actual data range as shown in the adjoining figure. Then
drag to fill the formula down. As shown in Fig 23.