Question: Coeffs problem and complex numbers

Hi, I am new to maple, and I am just trying to get to grips with it but I need to know how to do the following (I have been looking through the help guide but everything I try seems to not work)

1). I need to find the coefficient of xyz2 via a single function (Rather than just finding it once expanded or in a multistep process) to the equation (x+y+z)4

From what I have worked out its something like coeffs(expand((1)), x, y, z^2), but I am going wrong somewhere (maybe all together).

 

2). Secondly, I have another problem, in that i have a complex number (1+i3)^2/(4_i6)^7 and I need to find to 5 decimal places the real part of it.

So far I’ve gathered evalf[6](Re(3)) but that just puts the real sign in front of the complex number, and doesn't recognize the sig fig requirement. Is there a better way to do this?

Thanks for your help :)

Please Wait...