0% found this document useful (0 votes)
106 views22 pages

VISHVESH

1. The document provides examples of how to perform matrix operations like addition, subtraction, scalar multiplication, and matrix multiplication using spreadsheets. 2. It also provides examples of how to find the inverse of a matrix and plot functions like f(x)=2x^2+1 to illustrate a demand curve using spreadsheets. 3. The examples provide step-by-step solutions explaining how to set up the matrices and formulas to perform the operations and visualize the results.

Uploaded by

snow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
106 views22 pages

VISHVESH

1. The document provides examples of how to perform matrix operations like addition, subtraction, scalar multiplication, and matrix multiplication using spreadsheets. 2. It also provides examples of how to find the inverse of a matrix and plot functions like f(x)=2x^2+1 to illustrate a demand curve using spreadsheets. 3. The examples provide step-by-step solutions explaining how to set up the matrices and formulas to perform the operations and visualize the results.

Uploaded by

snow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 22

1.

MATRICES
EXAMPLE-1
Add the matrices A and B using spreadsheet.

SOLUTION

STEP-1 :-Declare two matrices in your spreadsheet by typing numbers in 3x3 grids.
STEP-2 :-Then select elements of matrix and name it A ( You can also add borders).
STEP-3 :- Repeat for B also.
STEP-4 :- Beside them in a box type D to represent result A+B.
STEP-5 :-Move the cursor in an empty box. Now in formula bar type =A+B.
Then press CRTL+SHIFT+ENTER.
And there is the result for A+B .

A
11 7 8
9 12 3
15 13 13

26 22 17
D 21 28 20
23 17 30
B
15 15 9
12 16 17
8 4 17
EXAMPLE-2

Peform A-B using spreadsheet on matrices A, B.

SOLUTION

STEP-1 :- Follow steps 1,2,3 of Example 1 to create matrices A, B .


STEP-2 :- This time in a separate cell type E.
STEP-3 :-After which navigate to another empty cell. Type =A-B in formula bar.
STEP-4 :-You have to press CTRL+SHIFT+ENTER and then again ENTER just like we did in previous example to get

A
11 7 8
9 12 3
15 13 13

-4 -8 -1
E -3 -4 -14
7 9 -4
id in previous example to get desired resul

B
15 15 9
12 16 17
8 4 17
EXAMPLE-3

Using spreadsheet perform scalar multiplication 3xA considering matrix A.

SOLUTION

STEP-1 :-Create Matrix A and declare that as done in example 1.


STEP-2 :-Then in a separate cell type F.
STEP-3 :-Move cursor pointer to another empty cell and in formula bar type =3xA.
STEP-4 :-
Then press CRTL+SHIFT+ENTER then ENTER. You will see the resultant matrix.

11
9
15

33
F 27
45
ring matrix A.

A
7 8
12 3
13 13

21 24
36 9
39 39
EXAMPLE-4

Consider matrices M, N and perform matrix multiplication MxN on them using spre

SOLUTION

STEP-1:- Start by declaring and naming two matrices as given M, N in spreadsheet.


STEP-2 :-Next in another cell type MxN. Move the cursor pointer to another empty cell.
STEP-3 :- In formula bar type =MMULT (M, N).
STEP-4 :-
Then press CRTL+SHIFT+ENTER then ENTER. You will see the resultant matrix.

M N
3 33 10 12 11
2 23 9 4 2
2 12 18 8 32

248 419 106


M*N 188 356 81
216 622 106
N on them using spreadsheets.

11
1
4
EXAMPLE-5

Using spreadsheet, find the inverse of matrix M.

SOLUTION

STEP-1 :-Declare and name matrix M.


STEP-2 :-In a separate celln type inv_M and then move cursor pointer to a separate cell.
STEP-3 :-In formula bar type +MINVERSE(M)
STEP-4 :-
Then press CRTL+SHIFT+ENTER then ENTER. You will see the resultant matrix.

M
3 33
2 23
2 12

2.9423 -4.558
inv_M -0.173 0.3269
-0.212 0.2885
10
9
18

0.6442
-0.067
0.0288
2. FUNCTIONS
EXAMPLE-1

For integers in range (-6,6) plot function f(x)=2x^2+1 using a spreadsheet.

SOLUTION

STEP-1 :-In your spreadsheet make two columns x, f(x).


STEP-2 :-Fill the column x with atleast two values eg: -6, -5.
STEP-3 :-Then you can highlight these two cells and use the fill handle to extend this in the cells below. You Will observ
STEP-4 :-Now movethe cursor pointer to cellbelow f(x). In formula bar type =2*POWER(A2,2)+1. Then press ENTER.
STEP-5 :-You will see the result for x=-6. To extend this for other values you can press CTRL+ENTER or use fill handl
STEP-6 :-Now you need to highlight both of these columns x, f(x) alongwith their values.
STEP-7 :-Now go to Insert => Chart => Select line plot. You will get tge required plot.

-6 73
-5 51
-4 33 80
-3 19
70
-2 9
60
-1 3
0 1 50
1 3 40
2 9
30
3 19
20
4 33
5 51 10
6 73 0
1 2 3 4 5 6 7 8 9 10 11 12 1
-10
ng a spreadsheet.

e cells below. You Will observe the values get autofilled. This trick saves time.
A2,2)+1. Then press ENTER.
RL+ENTER or use fill handle and highlight cells below f(x).

Column C
Column D

5 6 7 8 9 10 11 12 13
EXAMPLE-2
For the given data plot the corresponding demand curve in the spreadsheet.
Take demand function to be f(x)=25000-0.5x, where x is a parameter.

SOLUTION

STEP-1 :-Since we are plotting the demand curve, we consider Buyer Demand price. In spreadsheet make column of Bu
STEP-2 :-Make another column of price and navigate the cursor to the cell below it. Then in formula bar write =25000-
STEP-3 :- Expand this using fill handle for below cells also.
STEP-4 :- Select both columns along with all their rows and go to Insert => Chart => Line plot. You will see the required

Buyer Demand Price


25000 12500
20000 10000
15000 7500
10000 5000 100%
30000
5000 2500 90%
25000
80%
70%
20000
60%
15000
50%
40%
10000
30%
20%
5000
10%
0%0
11 22 33 4 5
dsheet make column of Buyer Demands and insert above values.
ormula bar write =25000-0.5*A2. Then press ENTER.

t. You will see the required plot.

Price Demand
Buyer
Buyer Demand
Price

22 33 4 5
EXAMPLE-3

Plot a supply curve for corresponding data.


Take supply function to be f(x)=25000+0.5x, where x is a parameter

SOLUTION

STEP-1 :-Since this time we are plotting the supply curve, we consider the Car Dealer Supply column and make a colum
STEP-2 :-Now in another column type Price .
STEP-3 :-Navigate to the cell below Price and in formula bar type =25000+0.5*A2 and press ENTER.
STEP-4 :-Expand this result to below cells by using fill handle and table is ready.
STEP-5 :-Select both columns and go to Insert => Chart => Line plot. You will see the required plot.

Car Dealer Supply Price


5000 27500
10000 30000
15000 32500
20000 35000
25000 37500

Price
40000
35000
30000
25000
20000
15000
10000
5000
0
1 2 3
ly column and make a column for it.

s ENTER.

red plot.

Price

Price

1 2 3 4 5
EXAMPLE-4

Plot f(x)=logx with base 10, in spreadsheet and analyse plot for any maxima or minima.
Take values of x from set {0.05, 0.1 , ….. , 6.5}

SOLUTION

STEP-1 :- Again make two columns x, f(x) .


STEP-2 :- To insert values of x type first two x values and then highlight them. Using fill handle expand that column
STEP-3 :- Navigate to cell below f(x), in formula bar type =LOG10(A2). Press ENTER. Using fill handle external thi
STEP-4 :- Now values of x, f(x) are ready. Go to INSERT => CHART => LINE plot and your plot will be ready.

x f(x)
5.3 0.72427586960079
5.35 0.72835378202123
5.4 0.73239375982297
5.45 0.73639650227664
5.5 0.74036268949424 87
5.55 0.74429298312268
76
5.6 0.7481880270062
5.65 0.75204844781944 6
5
5.7 0.75587485567249 5
4
5.75 0.75966784468963
4
5.8 0.76342799356294 3
5.85 0.76715586608218 3
2
5.9 0.77085201164215 2
5.95 0.77451696572855 11
6 0.77815125038364
0
6.05 0.78175537465247
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
handle expand that column for below cells also and you will see values get autofilled.
sing fill handle external this cell to below cells till where values of x are present.
our plot will be ready.

xf(x)
xf(x)

11 12 13 14 15 16
EXAMPLE-5

Using spreadsheet plot function f(x)=|x| and analyse plot for maxima-minima. Use values of x.

SOLUTION

STEP-1 :-Again make two columns x, f(x)


STEP-2 :-Then you can highlight these two cells and use the fi to extend this in the cells below. You Will observe the val
STEP-3 :-Navigate to cell below f(x), then in formula bar type =ABS(A2) and press ENTER.
STEP-4 :-Now use fill handleto fill values till last value of x.
STEP-5 :-Select both columns and go to Insert => Chart => Line plot.

x f(x)
-6 6
-5 5
-4 4
-3 3
-2 2
-1 1 f(x) vs x
0 0
7
1 1
6
2 2
3 3 5

4 4 4
5 5 3
6 6 2

0
1 2 3 4 5 6 7 8 9 10 11 12 13
low. You Will observe the values get autofilled.

(x) vs x

f(x)

7 8 9 10 11 12 13
EXAMPLE-6

Plot a graph using spreadsheet for f(x)=√x for values of x.


SOLUTION

STEP-1 :-Again make two columns x and f(x).


STEP-2 :-Fill the values of x ( type two values starting from 0 then 0.05). Extend these two lower cells by highlighting tw
STEP-3 :-Navigate to cell below f(x) then in formula bar type =SQRT(A2), then press enter.
STEP-4 :-Use fill handle to expand this formula to below cells also upto x=6.05
STEP-5 :-Now we have both columns ready. So select both columns then go to Insert => Chart => Line plot. You will ha
Observe the plot. After analysing it we conclude the point of minima is 0 and maxima does not exist.

x f(x)
0 0
0.05 0.22360679775
0.1 0.3162277660168
0.15 0.3872983346207
0.2 0.4472135955
0.25 0.5 f(x)
0.3 0.5477225575052
1
0.35 0.59160797831 0.9
0.4 0.6324555320337 0.8
0.45 0.6708203932499 0.7
0.6
0.5 0.7071067811865
0.5
0.55 0.7416198487096
0.4
0.6 0.7745966692415 0.3
0.65 0.8062257748299 0.2
0.7 0.8366600265341 0.1
0
0.75 0.8660254037844
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
0.8 0.8944271909999
0.85 0.9219544457293
0.9 0.9486832980505
wo lower cells by highlighting two values and using fill handle for lower cells.

Chart => Line plot. You will have required plot.


maxima does not exist.

f(x)

f(x)

9 10 11 12 13 14 15 16 17 18 19

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy