Midterm Flashcards

(34 cards)

1
Q

What are numerical methods, and why are they used instead of analytical solutions?

A

Numerical methods are algorithms that use approximations and iterative procedures to solve mathematical problems. They are used when analytical (closed-form) solutions do not exist, are too difficult to obtain, or are impractical for real engineering problems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Fill in the blank: Numerical methods are an __________ tool, not a __________ abstraction.

A

engineering, mathematical

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Numerical methods always give the exact solution to a problem. (T/F)

A

False, give approximate solutions with controllable error.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Give two examples of engineering problems that require numerical methods.

A

Flow depth in open channel (root finding)

Heat flow in concrete curing (finite differences)

Beam deflection (numerical integration)

Truss/frame analysis (systems of equations)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the difference between true error and approximate error?

A

True error: difference between the exact value and the numerical value

Approximate error: difference between successive numerical estimates (used when true value is unknown)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

T/F: Reducing step size or tolerance will always reduce error without consequences

A

False, can increase computation time and round-off error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which type of error is caused by limited precision in computers?

A) Truncation error
B) Round-off error
C) Modeling error
D) Iteration error

A

B) Round-off error

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What does it mean to bracket a root?

A

To choose two points xl and xu such that f(xl)*f(xu)<0 which guarantees a root exists between them.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

T/F: Bisection method is guaranteed to find a root if the initial interval brackets a root.

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Why does the bisection method always converge (if properly bracketed)?

A

Because each iteration halves the interval containing the root, and the Intermediate Value Theorem guarantees the root remains inside the interval.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Give one advantage and one disadvantage of bisection.

A

Advantage: Guaranteed convergence
Disadvantage: Slow (linear convergence)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

False position differs from bisection because it:

A) Does not require bracketing
B) Uses derivatives
C) Uses linear interpolation instead of midpoint
D) Always converges faster

A

C)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is a common problem with the false position method?

A

One endpoint may remain fixed for many iterations, slowing convergence.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

T/F: Open methods require a bracketing interval

A

False

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Why are open methods usually faster than bracketing methods?

A

They use local slope or function behavior to jump toward the root rather than shrinking an interval.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Why is fixed-point iteration considered “simple but dangerous”?

A

Because convergence is not guaranteed and depends heavily on the choice of 𝑔(𝑥).

17
Q

A fixed point satisfies the equation __________.

18
Q

What condition ensures convergence of fixed-point iteration?

A

∣g′(x)∣<1near the root

19
Q

Give two reasons Newton’s method is powerful and two reasons it can fail.

A

Pros:

Very fast (quadratic convergence)

Efficient near the root

Cons:

Requires derivative

Can diverge or jump to wrong root

Fails if 𝑓′(𝑥)=0

20
Q

T/F: Newton’s method is always better than bisection.

21
Q

What does it mean for a system to be ill-conditioned?

A

Small changes in inputs cause large changes in the solution.

22
Q

Which operation does NOT change the solution of a linear system?

A) Swapping rows
B) Multiplying a row by a constant
C) Adding a multiple of one row to another
D) Rounding coefficients

23
Q

Why is partial pivoting used in Gaussian elimination?

A

To reduce round-off error by avoiding division by small pivot elements.

24
Q

T/F: Row scaling improves numerical stability but changes the system.

A

False — it improves stability without changing the solution.

25
Why is LU decomposition useful when solving 𝐴𝑥=𝑏 for many b’s?
Because 𝐴 only needs to be factorized once, saving computation time.
26
What is interpolation?
Estimating values between known data points.
27
T/F:An n−1 order polynomial interpolation always gives a good approximation.
False, Runge's phenomenon
28
What is the key advantage of Newton’s divided difference form?
Easy to add new data points without recomputing the entire polynomial.
29
Divided differences are based on __________ slopes.
finite
30
Why do we use cubic splines instead of high-order polynomials?
They avoid oscillations and provide smooth, stable interpolation.
31
Natural cubic splines force the second derivative at endpoints to be zero.
True
32
What physical interpretation does a natural spline have?
It models a thin elastic beam with no bending moment at the ends.
33
What continuity conditions are enforced at interior spline points?
Function value First derivative Second derivative
34
How many equations are solved in the reduced natural spline system? A) n B) n−1 C) n−2 D) 2n
C)