Finding a length of a set?

353 Views Asked by At

Let $\Sigma=\{a,b,c\}$ and let $\Sigma^*$ be the set of all words $w$ using letters from $\Sigma$.

Define $$L(w)=\text{length}(w)$$ for all $w\in\Sigma^*$.

How to calculate the L(w) for the words w1=ababac and w2=λ?

(Is there any link where i can learn these calculations in details)

1

There are 1 best solutions below

5
On

The length of the word abc is 3 because it contains 3 letters.

The length of the word aaabbb is 6 because it contains 6 letters.

Does that help?