Lecture 3 Function
Lecture 3 Function
A program designed to evaluate a function may not produce the correct value of
the function for all elements in the domain of this function.
For example, a program may not produce a correct value because evaluating the
function may lead to an infinite loop or an overflow.
Similarly, in abstract mathematics, we often want to discuss functions that are
defined only for a subset of the real numbers, such as 1/x, √x, and arcsin (x).
Example of partial function
The function f :
Z → R where f (n) = √n is a partial function from Z to R where the domain of
definition is the set of nonnegative integers.
Note that f is undefined for negative integers.
Assignment 2
Do questions of exercise( 2.3 page no 153 ) related to all the topic you study in
lecture