Professional Documents
Culture Documents
CHAPTER 5
OVERVIEW
A. LEARNING OUTCOMES
1. Know the importance of Computer Aided Mathematical Calculations
2. Learn how to use Excel Application in solving mathematical problems
B. PRE-TEST
Directions: Read carefully and choose the correct answer Write your answer on the
space provided before the number.
__TRUE__1. Engineers should never be content to be tool limited and they will do
whatever is necessary to solve their problems.
__FALSE__4. MATH Lab and Excel are both helpful in providing numerical
solutions.
D. DISCUSSION
Beyond contributing to your overall education, there are several additional reasons
why you should study numerical methods:
With these reasons as motivation, we can now set out to understand how
numerical methods and digital computers work in tandem to generate reliable
solutions to mathematical problems.
EXCEL
https://www.youtube.com/watch?v=rwbho0CgEAE
We will now then show how these capabilities can be used to solve the
Solution of Linear Equations by Determinants by Cramer’s Rule.
2 x+ y+ z =13
x +2 y+ z =11
x +3 y+ 3 z =19
| |
2 1 1
| A|= 1 2 1
1 3 3
¿ 2 ( 6 −3 ) −1 ( 3 −1 ) +1(3 −2)
¿ 6 −2+1
| A|=5
for |Ax|, replacing the first column of |A| with the corresponding constants 13, 11 and
19, we have
| |
13 1 1
| x| 11 2 1
A =
19 3 3
¿ 36 −14 − 5
| A x|=20
Similarly,
| |
2 13 1
| y| 1 11 1
A =
1 19 3
¿ 28 −26+ 8
| A y|=10
And
| |
2 1 13
| A z|= 1 2 11
1 3 19
¿ 10 −8+13
| A z|=15
Hence:
| A x| 20
x= = =4
| A| 5
| A y| 10
y= = =2=A_y/A=10/5=2
| A| 5
| A z| 15
z= = =3=A_z/A=15/5=3
| A| 5
To do this, let us first set up a simple spreadsheet. As shown below, the first
step involves entering labels and numbers into the spreadsheet cells.
Now select cell A6 and enter “D=” the copy cells B1:D3 to C6:E8. To do this,
select cells A1:C3 (the easiest way to do this is by moving the mouse to B1, holding
down the left mouse button and dragging down to D3) “Ctrl-C” and select cell C6
then “Ctrl-V”. Your excel spreadsheet will then look like this: (Let us denote “A” as
“D” here.)
Input also the Dx, Dy and Dz by replacing the x,y and z components with the
constant. Your spreadsheet will be:
To add borders, first matrix D, select cells C6:E8, right click, select format cell,
the select borders then click the boarder left and right, OK. Do this step to all
matrices.
For Matrix D, click cell F7, type =MDETERM (double click it when it appears)
then select cells C6:E8 and press Enter. Do this also to get the determinants of other
matrices.
We have the determinants that we need. We can now solve for the solution set
of the system. To do this, input x, y, z below:
(
To solve for x, select cell C22, x=
Dx
D )
is tℎe formula type “=” then click cell F11
click “/” then click cell F7 then Enter. *do this for y and z. We now have the solution
set of the system.
E. ACTIVITY
Instructions: Provide numerical solution to the problem below using Excel. Send
your excel file to your Instructor on messenger or email address:
jessani.llanto@wpu.edu.ph
1. 2x2
x − y=2
x +4 y=5
2. 3x3
x + y + z=0
2 x − y − 4 z=15
x − 2 y − z =7
F. POST-TEST
Instructions: Provide numerical solution to the problem below using Excel. Send
your excel file to your Instructor on messenger or email address:
jessani.llanto@wpu.edu.ph
1. 4x4
−3 x +9 y −18 z+ 21 k=− 6
2 x − 6 y+ 13 z −16 k =2
3 x − 6 y +14 z − 13 k=8
−2 x +7 y − 14 z +17 k =−3
2. Compare your experience on solving this problems with and without the use of
excel.
_____________________________________________________
_____________________________________________________
_____________________________________________________
_____________________________________________________
NOTE:
ACTIVITIES AND POST-TEST SHOULD BE IN 1 EXCEL FILE ONLY…
REFERENCES
Applied Numerical Methods with MATLAB for Engineers and Scientists, Steven C.
Chapra, McGraw Hill, 2nd Edition 2007/2008
https://www.youtube.com/watch?v=yTYObct_88E
Student’s Information
Name: _______________________________________________
Program: _____________________________________________
Year and Section:________________________________________
Contact No.:___________________________________________
E-mail address:_________________________________________
Facebook Account:_______________________________________
Messenger Account:______________________________________
For this module, we collect name, program, year and section, contact number, email
address, Facebook and messenger account when you submit your printed module for
All personal information collected will be stored in a secure location and only
authorized staff will have access to them.
Vision 2020
WPU: the leading knowledge center for sustainable
development of West Philippines and beyond
Mission
WPU commits to develop quality human resource and green
technologies for a dynamic economy and sustainable
development through relevant instruction,