Please check urgently .I have to submit the assignment

A give an example of a function whose domain equals the set of real numbers and whose range equals the set?
the set {-1,0,1}
BGive an example of a function whose domain equals (0,1)and whose range equals [0,1]
C.Give n example of a function whose is the set of positive integers and whose range is the set of positive even integers
D. Give an example of a function whose domain is the set of positive even integers and whoce range is the set of positive odd integers
Egive an example of function whose domain is the set of integers and whoce range is the set of positive integers.
F. Give an example of function whose domain is the set of positive integers and whoce range is the set of integers.
plese show me the work

Where are your answers or thoughts that you want to be checked?

A. To find a function whose domain is the set of real numbers and whose range is {-1, 0, 1}, you can use a piecewise defined function. For example, consider the function f(x) = 0 for x < 0, f(x) = -1 for x ∈ [0, 1), and f(x) = 1 for x ≥ 1.

B. To find a function whose domain is (0, 1) and whose range is [0, 1], you can use a linear function. For example, consider the function f(x) = x.

C. To find a function whose domain is the set of positive integers and whose range is the set of positive even integers, you can use a function that maps each positive integer to its corresponding even integer. For example, consider the function f(x) = 2x.

D. To find a function whose domain is the set of positive even integers and whose range is the set of positive odd integers, you can use a function that maps each positive even integer to its corresponding odd integer. For example, consider the function f(x) = x + 1.

E. To find a function whose domain is the set of integers and whose range is the set of positive integers, you can use a function that maps each integer to its absolute value. For example, consider the function f(x) = |x|.

F. To find a function whose domain is the set of positive integers and whose range is the set of integers, you can use a function that maps each positive integer to its negative counterpart. For example, consider the function f(x) = -x.

Please note that these are just examples, and there are multiple functions that satisfy the given conditions.