ME 2016 Exam 1

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/86

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 11:05 PM on 10/12/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

87 Terms

1
New cards

Numerical Methods

computing techniques that help us approximate solutions to mathematical problems

2
New cards

Why do we use numerical methods?

Many engineering problems have no analytical solution, require analytical solutions that are intractable or impractical, and are limited by discrete data

3
New cards

What kinds of engineering problems are we interested in solving via numerical methods?

Engineering Analysis and Engineering design

4
New cards

Engineering Analysis

displacements, stresses in a physical system

5
New cards

Engineerign design

size, shape, and material properties for a given physical system to support its function

6
New cards

A mathematical model expresses

essential features of a physical system or process in mathematical terms

7
New cards

Components of a mathematical model

independent variable, dependent variable, parameters, forcing function

8
New cards

computer program

a finite set of instructions in a programming language for a computer to execute

9
New cards

Algorithim

a finite set of instructions used to solve a specific problem or perform a computation

10
New cards

Modular Programming

dividing a computer program into small sub-programs

11
New cards

Characteristics of module

independent and self-contained, performs a specific will-defined operation, has one entry and exit point

12
New cards

Why modular programming?

writing code for one operation allows reuse, facilitates modification to the operation, makes programming easier, facilitates use of code by others

13
New cards

accuracy

how closely the computed or measured value agrees with the true value

14
New cards

Precision

how closely individual computed or measured values agree with each other

15
New cards

inaccuracy

a systematic deviation from truth(bias)

16
New cards

inprecision

magnitude of scatter(uncertainty)

17
New cards

True error, Et, formula

true value - approximation

18
New cards

True relative error, et, formula

true value - approximation/ true value * 100

19
New cards

True relative error

takes into account order of magnitude

20
New cards

approximate relative error, ea, formula

current approximation - previous approximation/ current approximation * 100

21
New cards

Approximate relative error is based on

iterative numerical approach where approximations get closer to true value

22
New cards

Types of non-numerical error: Blunders

computer or human mistakes(not common today)

23
New cards

Types of non-numerical error: Formulation/Model Errors

due to use of poorly concieved mathematical model(does not accurately represent the physics)

24
New cards

Types of non-numerical error: Data Uncertainty

Due to imprecise or inaccurate measurements

25
New cards

Types of numerical error: Truncation Error

results when approximations are used to represent exact mathematical procedure

26
New cards

Types of numerical error: Roundoff Error

results when numbers having limited significant figures are used to represent exact numbers

27
New cards

Truncation error example

finite divided difference approximation of derivative

28
New cards

Round error example

pi is about 3.14

29
New cards

Why are significant figures omitted in computing techniques

computers can only retain a fixed number of digits and base 2 representation cannot properly represent certain base 10 numbers exactly

30
New cards

floating point representation

enables us to represent large numbers and fractions in the computer

31
New cards

Floating point formula

fl(x) = (-1)^s (1.f) * (2^b-bias)

32
New cards

floating point mantissa

finite set of digits from 0<= di <= beta-1

33
New cards

How many bits in floating point mantissa

t

34
New cards

In base 2 d0=1 so we get

t+1 digits by storing only t

35
New cards

In IEEE754 what is s

1 bit sign

36
New cards

In IEEE754 what is b

k bits exponent

37
New cards

In IEEE754 what is f

t bits for the fraction portion of the mantissa

38
New cards

exponent for IEEE754

b-bias

39
New cards

IEEE754 bias formula

2^(k-1) - 1

40
New cards

denormalized numbers

enables us to represent 0 and enables gradual underflow

41
New cards

underflow

error that occurs when you attempt to access numbers between 0 and the first positive normalized number

42
New cards

overflow

error when you attempt to access numbers larger than the largest normalized number

43
New cards

When the exponent and fraction is all ones f=111….11 we have

NaN

44
New cards

Single precision

s=1, k=8, t=23

45
New cards

Double precision

s=1, k=11, t=52

46
New cards

Lower endpoint formula

bmin+1 - bias

47
New cards

Upper endpoint formula

bmax-1 - bias

48
New cards

machine precision

difference between 1 and the next largest floating point number

49
New cards

machine precision formula

e = beta^-t

50
New cards

An nth-order Taylor polynomial will be exact

for a nth order polynomial

51
New cards

Using Taylor series for functions such as sin,cos,exp

will not be exact

52
New cards

In Taylor series polynomial approxination the remainder term captures

the error

53
New cards

In Taylor series approximation truncations error is proportional to

the order of h^n+1

54
New cards

O(h) when you half stepsize will

half error

55
New cards

O(h²) when you half stepsize will

quater error

56
New cards

If stepsize h is sufficiently small

the first and lower order terms account for most of error

57
New cards

how does rounding error change as step size decreases

increases

58
New cards

how does truncation error change as step size decreases

decreases

59
New cards

How do we know at least one root exists

if f(x) is real and continuous on the interval xl to xu and f(xl) and f(xu) have oppisite signs

60
New cards

Bracketing Methods(Bisection and False Position) are always

convergent

61
New cards

Why might false position be slower than bisection even thought that not usually the case

tends to be one-sided since one of the points remains fixed which can sometimes lead to slow convergence

62
New cards

Why might false position be more efficient the bisection method

it considerers the magnitude of f(xu) and f(xl) in bracketing

63
New cards

When are incremental search methods convergent

monotonic functions with a single root

64
New cards

bracket methods require

2 initial guesses

65
New cards

open methods are root finding methods that

do not require starting values to bracket the root

66
New cards

Open methods may

diverge and typically converge faster than bracketing

67
New cards

Fixed Point Theorem

g(h) is continuous in an interval, [a, b], and a ≤ g(h) ≤ b (existence) and the fixed point is unique if g’ (h) exists and |g′ (ℎ)| ≤ 𝜌 < 1 for all h ∈ [a, b] (uniqueness)

68
New cards

Fixed point error is

linearly convergent

69
New cards

pitfalls of newton-raphson

derivative difficult or expensive to calculate and may diverge, oscillate, or jump roots

70
New cards

Newton-Raphson: oscillations may persist around

local min or max

71
New cards

Newton-Raphson: Initial guess near 1 root can

jump to location several roots away

72
New cards

Newton-Raphson: zero slope leads to

divergence and divide by zero error

73
New cards

When a function does not change sign at a multiple root

bracketing methods fail

74
New cards

when the derivative is 0 at a multiple root

newton-Raphson and secant experience divide by 0 error

75
New cards

Newton-Raphson and secant error for a multiple root function is

linearly convergent

76
New cards

curve fitting

techniques to fit curves to discrete data values to estimate values in between or simplify a complicated function

77
New cards

regression

curve is designed to follow the pattern of the data without attempting to intersect each point

78
New cards

interpolation

curve is designed to pass through each data point

79
New cards

trend analysis

process of using pattern of data to make predictions

80
New cards

hypothesis testing

an existing mathematical model is compared to measured data

81
New cards

residual

discrepancy between the true measured values and the approximate model values predicted by regression

82
New cards

least squares regression

minimize the sum of squares of residuals for all available data

83
New cards

coefficient of determination

quantifies the improvement of error reduction due to describing the data with least squares regression rather than average value

84
New cards

Describe in words what the bias is used for in IEEE standard of floating-point representation

The exponent is stored as an unsigned integer and the bias allows us to achieve positive and negative values of the exponent

85
New cards

In the IEEE754 standard for floating point representation, if the mantissa can store t bits, why do we get t+1?

When we normalize in base-2 the first digit is always 1 so we don’t need to store it

86
New cards

What do the normal equations represent

simultaneous equations that can be solved to find best fit coefficients, necessary conditions to minimize Sr, derivatives of Sr with respect to coefficients set equal to 0

87
New cards

IEEE754 an exponent value of all 1’s (11111) and a mantissa of all zeros represents

Infinity