In: Computer Science
This question concerns
the field GF(256). The modulus is
P(x)=x8+x4+x3+x+1.
For computing inverses in this field, you should use the table
in the textbook.
Please answer the following questions about arithmetic in this field.
a) If
p(x)=x6+x4,
and
q(x)=x5+x4+x3+x,
what is p(x)/q(x)?
b) If
p(x)=x7+x6+x5+x,
and
q(x)=x7+x5+x4+x2,
what is p(x)/q(x)?
Solution:-
The algorithm we will use here will be polynomial Long division algo.
1, We will divide the numberator first ter with the denominator's first term.("after dividing the result we will obtain a ")
2. Then we will multiply the a with the denominator and will the result below numerator.
3. then we subtract the numerator with the polynomial below it and the result obtained will be new numerator.
4. then we will repeat the above setps until the degree of numerator is greater than degree of denominator.
if u like my answer then please give a thumbs up..!!