Professional Documents
Culture Documents
Computer Programming
(TKK-2144)
-Mathematics function
- Statistical function
- Logical function
- etc
Basic function
Mathematics functions
abs(CELL): Absolute value of CELL
sqrt(CELL): Square root of CELL [to do nth roots, use CELL^(1/n)]
ln(CELL): Natural log of CELL
log10(CELL): Log of CELL to base 10
log(CELL, NUM): Log of CELL to the base NUM (use for all bases except e
and 10)
exp(CELL): Exponential(e^x) of CELL. Use since Excel doesn't have a built-
in constant "e".
=IF(D33>0, $K$10, 0)
“if” function
Working with Logical Functions
Matrix (basic theory)
Matrix Mathematics
Matrices are very useful in engineering calculations. For
example, matrices are used to:
- Efficiently store a large number of values
-Solve systems of linear simultaneous equations
2 X 2: 2 rows in A, 2 columns in B
Matrix (basic theory)
Example – Matrix Multiplication
• Solution:
AB ≠ BA
Matrix (basic theory)
Transpose of a Matrix
• The transpose of a matrix by switching its row and columns
• Graphical solution
• Substitution method
• Elimination method
The application of Matrix
Equations in Matrix Form
• The first step in using matrix methods to solve a series of linear
simultaneous equations is to write them in matrix form
• For n simultaneous equations and n unknowns: