Let A = { 0 , 1 , 2 } and let S be the set of all strings over A . Define a relation L from S to Z n o n n e s x as follows: For every string s in S and every nonnegative integer n . ( s , n ) ∈ L means that the length of s is n . Then L is a function because every string in S has one and only one length. Find L (0201) and L(12).
Let A = { 0 , 1 , 2 } and let S be the set of all strings over A . Define a relation L from S to Z n o n n e s x as follows: For every string s in S and every nonnegative integer n . ( s , n ) ∈ L means that the length of s is n . Then L is a function because every string in S has one and only one length. Find L (0201) and L(12).
Solution Summary: The author explains that S is the set of all strings over A and every non-negative integer n.
Let
A
=
{
0
,
1
,
2
}
and let S be the set of all strings over A. Define a relation L from S to
Z
n
o
n
n
e
s
x
as follows: For every string s in S and every nonnegative integer n.
(
s
,
n
)
∈
L
means that the length of s is n.
Then L is a function because every string in S has one and only one length. Find L(0201) and L(12).
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, subject and related others by exploring similar questions and additional content below.