Quiz 1 MCS 320 Friday 17 January 2003

1. Give the Maple commands to compute the square root of Pi with 17 decimal places.

Also give the numerical value you obtain.

> evalf(sqrt(Pi),17);

1.7724538509055160

2. Consider the polynomial p(x) = x^3 + 8*x + 1.

Find the factorization of this polynomial 2^(13) - 1.

Write the maple factoring command and also list the result of this calculation:

> p := x^3 + 8*x + 1;

p := x^3+8*x+1

> Factor(p) mod (2^13-1);

(x^2+6216*x+1717)*(x+1975)