Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
18 views

Using Excel - 20230823

This document provides an overview of how to use Excel for structural engineering applications. It demonstrates functions for solving equations, determining shear and moment diagrams, matrix operations like determinants and inverses, and lookup/conditional functions like IF, VLOOKUP and nested IFs. The document contains examples of setting up cell formulas and ranges to automatically compute values for structural analysis and design.

Uploaded by

dmoembodo8000
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
18 views

Using Excel - 20230823

This document provides an overview of how to use Excel for structural engineering applications. It demonstrates functions for solving equations, determining shear and moment diagrams, matrix operations like determinants and inverses, and lookup/conditional functions like IF, VLOOKUP and nested IFs. The document contains examples of setting up cell formulas and ranges to automatically compute values for structural analysis and design.

Uploaded by

dmoembodo8000
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 42

Excel for Structural

Engineers
Richard J. AQUINO, CE, EnP, Associate Professor V
August 23, 2023

Central Mindanao University


College of Engineering
Department of Civil Engineering
Understanding Cells
• Every worksheet is made up of thousands of rectangles, called cells.
• A cell is the intersection of a row and a column.
• Columns are identified by letters (A,B,C), while rows are identified by
numbers (1,2,3)

https://edu.gcfglobal.org/en/excel/cell-basics/1/#
Understanding Cells
• Each cell has its own name – or cell address – based on its column
and row.
• Example: The selected cell below intersects column B and row 5, so
the cell address is C5.

https://edu.gcfglobal.org/en/excel/cell-basics/1/#
Understanding Cells
• Note that the cell address also appears in the Name box in the top-
left corner, and that a cell’s column and row headings are highlighted
when the cell is selected.

https://edu.gcfglobal.org/en/excel/cell-basics/1/#
Understanding Cells
• You can also select multiple cells at the same time. A group of cells is
known as a cell range.
• Cell range using the addresses of the first and last cells in the cell
range, separated by a colon.
• Example: A cell range that included cells B2, B3, B4, B5, B6, B7, B8 is
written as B2:B8

https://edu.gcfglobal.org/en/excel/cell-basics/1/#
Understanding Cells
• Cell range A1:E1

• Cell range A1:E7

https://edu.gcfglobal.org/en/excel/cell-basics/1/#
Using Formulas
• Type a number, say 2 in cell A1
• Type another number, say 3 in cell A2
• In cell A3, type first the equal “=“ sign to start a formula
Using Formulas
• At cell A3, type first the equal “=“ sign to start a formula
• 1st option: Type the cell name A1, or 2nd option: simply point to cell
A1 (observed the highlighted cells), then press Enter.
• The formula in cell A3 is =A1+A2 which simply has the value of 5.
Inserting Charts
• Let us graph the equation y = x^3 -2x +3
• Use two columns: first for values of x, second for values of y
• Type any number near to zero, say -5 in cell B5
• Type the formula =B5^3-2*B5+3 in cell C5 then click Enter.
Inserting Charts
• Type the formula =B5^3-2*B5+3 in cell C5 then click Enter.
Inserting Charts
• Type the range of values of abscissa
(-5,4) in cell range B5:B23. To do it,
type first -4.5 at cell B6, then select
the cell range B5:B6, wait until a
black cross icon will appear and drag
it until cell B23 then drop.
Inserting Charts
• Go to cell C5 and point
the mouse icon at the
bottom right corner
until it changes to a
black cross icon, then
drag until cell C23,
then drop.
Inserting Charts
• Select the cell range B4:C23
• Go to Insert Menu, then
Charts icons, select Insert
Scatter (X,Y) or Bubble
Chart
Inserting Charts
• Clicking on the Scatter with
Smooth Lines and Markers will
automatically creates a graph of
the data, then don’t forget to
click Enter.
Find the root of the equation!
• The root of the equation
is the value of x that
makes y equal to zero.
In other words, the
point where the graph
crosses the y = 0!
• The root is found
between -2 and -1.5,
since the sign of y
changes.
Find the root of the equation!
• You take a finer values of
x at 0.01 interval
• The root is within the
values -1.9 and -1.89!
Data > What-if Analysis > Goal Seek
• Use the same columns as before where cell B5 has a value of 2 and
cell C5 has the formula =B5^3-2B5+3 and an answer of 7!
• Select cell D5!
Data > What-if Analysis > Goal Seek
• Select cell D5!
• Go to Data Menu > What-if Analysis > Goal Seek
Data > What-if Analysis > Goal Seek
• Select any cell. Try D5!
• Set cell: to cell C5 in absolute
reference, $C$5
• To Value: 0
• By changing cell: $D$5
• Click OK!
• The root is: x = -1.89329!
Shear and Moment Diagram
• Deriving Shear and Moment Equations

R = wL/2
Vx = wL/2 – wx = w(L/2 – x)
Mx = (wL/2)(x) – wx(x/2) = wx/2(L – x)
Shear and Moment Diagram
Shear and Moment Diagram

Note: Use absolute reference


by enclosing $ sign the column,
e.g. $D$4
Shear and Moment Diagram
Note:
After determining the
values of Vx and Mx
along the beam length,
you may add charts for
shear Vx and moment
Mx. The results are
shown.
Shear and Moment Diagram
Note:
Assuming a 350mm x
10mm steel beam, the
maximum deflection at
midspan is 28.34 mm.
Solving simultaneous equations
• To solve the following equations
2x + 5y = 12
x - y = -1

• Transform the normal equation in matrix form


Solving simultaneous equations in Excel
• Set-up the matrices in Excel as shown
• Matrix A is a 2 x 2 matrix, thus the inverse of A is also a 2 x 2 matrix!
Solving simultaneous equations in Excel
• Choose the cell range B9:C10, and type =minverse(B3:C4)
• Then simultaneously press CTRL + SHIFT + ENTER
Solving simultaneous equations in Excel
• Solving for x using
• Select cell range B12:B13 for values of x & y, then type
=mmult(B9:C10,B6:B7), and simultaneously click CRTL + SHIFT + ENTER
Determinant of a matrix
• Determinant of a 2 x 2 matrix using basket method
Determinant of a matrix
• Determinant of a matrix using co-factor
• Example: 3 x 3 matrix
Determinant of a matrix
• Example:
Inverse of a matrix
Inverse of a 2x2 matrix
Inverse of a 3x3 matrix
IF function
IF function
To automatically check your design values!
Nested IF function
Nested IF function
Nested IF function
Nested IF function

Changing the values of f’c (yellow) will automatically compute the


value of beta_1 (orange).
VLOOKUP function

https://www.simplilearn.com/tutorials/excel-tutorial/vlookup-in-excel
For further information
• Top Excel Functions for Engineers
by Leila Gharani
Please open https://www.xelplus.com/excel-for-engineers/

https://www.xelplus.com/excel-for-engineers/

You might also like