Lec 1
Lec 1
Methods
2
Course Contents
3
Marks Distribution
• Assignments 10%
• Quizzes 10%
• Midterm 30%
• Final (Comprehensive) 40%
• Attendance 10%
4
Calculus Review
• Modern calculus by Gottfried Liebniz (1646-1716), a German mathematician, and Isaac Newton (1642-1726), an
English mathematician and physicist
• Limit and continuity: Cauchy (1789-1857) , Weierstrass (1815-1897)
• Limit of a sequence:
5
Calculus Review
• Continuous Function Theorem:
• Derivative of a function:
6
Calculus Review
7
Calculus Review
• Example
8
Calculus Review
• Riemann Integration: Bernhard Riemann (1826-1866), a German mathematician, and Henry Lebesgue
(1875-1941), a French mathematician
10
Calculus Review
• Taylor Series:
11
Calculus Review
• Example - Taylor Approximations:
12
Calculus Review
• Example - Taylor Approximations:
13
Round-Off Error
• Numerical Errors:
– Approximation errors (as in a function approximation using Taylor polynomials)
– Round-off errors
• Round-Off Error:
– Computers use finite-digit arithmetic (finite precision) and that, for instance, when dealing with
irrational numbers, results in round-off errors.
• Real Number Representation:
– Fixed Point Representation
– Floating Point Representation
• Fixed-Point Representation:
– Example: MSB is used for sign bit, next 3 bits are used for integer part and last 4 bits are used
for fractional part.
• Floating-Point Representation:
– Go to next slide…
14
Round-Off Error
• Normalized Floating-Point Representation:
15
Round-Off Error
• Example:
16
Round-Off Error
• Example (cont.):
17
Round-Off Error
• Measure of Accuracy:
• Finite-Digit Arithmetic:
18
Round-Off Error
• Example - Measure of Accuracy:
19
Algorithms
• Error Growth:
• Rate of Convergence:
20