00:01
We're given p of x and the nested form of p of x, which is q of x, and we're actually evaluate p of 2 and q of 2.
00:13
So evaluating p of 2, replacing our x with 2, we have 3 times 2 raised to the 4th hole minus 5 times 2 cubed plus 2 squared minus 2 squared minus 3 times 3 times 3 times 2.
00:36
2 plus 5 is equal to 48 minus 40 plus 4 minus 6 plus 5 48 plus 4 gives us 52 52 plus 5 that's 57 and we're subtracting 46 which leaves us with 11 q of 2 now is equal to 3 times 2 minus 5 times 2 plus 1 times 2 minus 3 times 2 plus 5 and that's equal to 6 minus 5 that's 1 times 2 plus 1 times 2 minus 3 times 2 minus 3 times 2 plus 5.
02:24
Simplifying that gives us 2 plus 1, that's 3 times 2 minus 3 times 2 plus 5, 6 minus 3 gives us 3, and we're multiplying that by 2 and adding 5, 3 times 2, that's 6 plus 5 is 11.
03:05
In my opinion, it was a bit easier to calculate q of x, well q of 2, than p of 2.
03:22
As we worked with smaller numbers, we're given the polynomial r of x.
03:40
R of x is equal to x -r -to -the -fifth pole minus 2x -3 -3 -3 -4 pole, plus 3x cubed minus 2x squared, plus 3x plus 4 and we're going to rewrite it in its nested form.
04:07
So it becomes x raised 3d 4th hole minus 2x cube plus 3x squared minus 2x plus 3 times x plus 4.
04:31
Notice we just factored out or x.
04:38
Factoring out or x again, we get x cubed minus 2x squared plus 3x minus 2x minus 2 plus 3 times x plus 4...