Philosophy Forums


Sets and Function

PrintPrint


Sets and Function
Christim
Aspirant

Usergroup: Members
Joined: Feb 28, 2009

Total Topics: 17
Total Posts: 20
Posted 10/09/09 - 10:29 PM:
Subject: Sets and Function
quote post
#1
Give the domain and the range of the following functions:

a) The function that maps non-negative integers to their last digit.
b) The function that maps a positive integer n to the largest
positive integer k such that k^2 <= n (k^2 is k squared).
c) The function that maps a bit string to the number of one
bits in the string.
d) The function that maps a bit string to a truth value indicating
that the number of zeros in the string is even.
ClaudeHooper
Student

Usergroup: Members
Joined: Aug 10, 2009

Total Topics: 2
Total Posts: 53
Posted 10/10/09 - 02:28 PM:
quote post
#2
Domain = set of values that can be fed into the function.

Range = set of values that can actually be returned by the function.
Download thread as


Sorry, you don't have permission to post. Log in, or register if you haven't yet.