Docsity

Excel Basics - Introduction to Engineering - Lecture Slides, Slides of Engineering

Partial preview of the text

Download Excel Basics - Introduction to Engineering - Lecture Slides and more Slides Engineering in PDF only on Docsity!

Engineering Analysis

  • Engineering analysis is a systematic process for analyzing

problems that arise in the various fields of engineering.

  • As part of the problem solving process, the data collected

has to be processed, analyzed and sometimes displayed

graphically by using many mathematical tools that are

available.

  • In many cases, once you have defined and set up the problem

properly, numerical methods are required to solve the

mathematical equations.

Microsoft’s Excel spreadsheet software has many numerical

procedures built directly into its program structure.

Spreadsheets’ Capabilities

  • Store, process, and sorts data
  • Graphically display data (Engineering application)
  • Perform statistical analysis
  • Fit equations to curves (Engineering application)
  • Solve single and system of algebraic equations (Engr. Appl.)
  • Solve optimization problems (Engineering application)
  • Draw Flow Charts

Data Analysis Tools

currently active cell (A1)

File management options

menu bar

formula bar

worksheet tabs

Copying Cells

“Fill Down” : select the cell containing the active formula and

the range of cells you need to fill

select “Fill” on the Home menu and choose “Down”

1. Using icons in the ribbon menu

a) Click on the Cells to be copied

b) Select “ Copy” on the Home toolbar

c) Click on the Cells to paste the copied contents

d) Select “Paste ” or “Special Paste” on the Home toolbar

2. Using keyboard - Ctrl C to copy & Ctrl V to paste

3. “Pull Down corner” at Lower Right Corner

(recommended for a range of cells)

a) place the cursor on the LRC of the active cell

b) Click and drag over the cell rage

Relative Addressing

  1. =B3+C3 adds the content of cells B3 and C3.

A B C D E 1 2 internal equation 3 2 3 =B3+C 4 5 1 =B4+C 5 10 4 =B5+C 6 15 5 =B6+C 7 SUM: 34 15 =SUM(D3:D6) 8

A B C D E 1 2 Result 3 2 3 5 4 5 1 6 5 10 4 14 6 15 5 20 7 SUM: 32 13 45 8

  1. As the formula is copied into D4, D5 and D6, cell addresses of the formula are incremented.

Basic Math Operations

Operation Algebraic Excel Format

add a+b a+b

subtract a-b a-b

multiply ab, axb, a.b a*b

divide a/b a/b

exponential an^ a^n

number

format

5.07x10 +12^ 5.07E

5.07*10^

3.15x10 -3^ 3.15E-

3.15*10^(-3)

Excel Formulas

  • In Excel, a formula expresses dependency of one cell on

others in the worksheet.

  • Formula entry for a Cell begins with clicking on the Cell first

and then either typing the equal sign “=“ in the Cell itself or

clicking on the Formula Bar , and ends with “ Enter ”.

  • A Formula can be edited by first clicking on the Cell and then

editing the formula on the active Cell or on the Formula Bar.

  • A Formula may contain functions.

The value of x is in cell A

Example

Math syntax: 3 x^2 + e

(-0.3 x )

- 10 x

Excel syntax: =3(A15^2) + EXP(-0.3A15) - 10*A

Using Excel Built-in Functions

After clicking on the Cell

  • Click on the “Formula Bar” ( fx ), follow instructions on the “Insert Function” window. Or, in the “Formulas” menu select “Insert Function“
  • Follow instructions on the “Function Argument” window, e.g., select the value, or range of values for the function.

Frequently Used Excel Functions

Math Excel Syntax Purpose: Returns the: (Assume value of x is in cell A15.)

π PI() value of π (3.141593…)

ex^ EXP(A15) Value of ex^ where e is the base of Natural Log

√ x SQRT(A15) Value of the square root of x

log 10 (x) LOG10(A15) Logarithm of x, with base 10

ln(x) LN(A15) Natural logarithm of x, with base e

SUM(x1,x2,x3) SUM( A15:A17) x1+x2+x

cos(x) COS(A15) Cosine of x

sin(x) SIN(A15) Sine of x

tan(x) TAN(A15) Tangent of x

Average(x1,x2,x3) AVERAGE(A15:A17) (x1+x2+x3)/

“My Expense Table”- Aug. Expense

=SUM(B5:B10)

“My Expense Table”- Aug. Expense (cont.)

“My Expense Table” - Completed

Insert menu

Plotting Data

2007 version

2010 version